RecurringStack Pay Method API

The Payment Methods API provides a comprehensive set of endpoints for managing the payment instruments associated with your customer accounts. These endpoints allow you to securely create, store, and manage customer credit cards (CC) and bank accounts (BA) within the RecurringStack platform. A key aspect of the RecurringStack architecture is that payment methods are linked directly to a customer_account_id, not to individual subscriptions. This allows a single payment method to be used across multiple subscriptions for the same customer. Key Features: Create and Store: Add new credit card or bank account details to a customer's account. Payment information is stored in a PCI compliant manner. List and Search: Retrieve a list of all payment methods for a specific customer or look up a single payment method by its ID. Manage Default Payment Method: Designate a specific payment method as the default for a customer account. This default method is automatically used for recurring subscription charges and automated invoice payments. Verify Instruments: Implement an optional verification process, such as a micro-debit, to confirm the validity of a new payment method before it can be used for transactions. View History: Access the complete payment history for a specific payment method or an entire customer account. Delete: Permanently and irreversibly remove a payment method from a customer's account.

GitHub OpenAPI

Operations 5

GET /paymethod/list Search payment methods #
POST /paymethod/create Create a new payment method #
POST /paymethod/verify Verify a payment method #
DELETE /paymethod/delete Delete a payment method #
PATCH /paymethod/setdefault Set or unset a payment method as default #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/recurringstack-com:recurringstack-com-paymethod-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

recurringstack-com-paymethod-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RecurringStack Pay Method API
  description: RecurringStack is a subscription management and business automation platform that provides APIs for customers, products, subscriptions, invoices, payments, marketing automation, account portals, reporting, support operations, and workflow automation.
  version: 1.0.0
  contact:
    name: RecurringStack Support
    url: https://recurringstack.com/docs/api
    email: support@recurringstack.com
  license:
    name: Commercial
servers:
- url: https://api.recurringstack.com
  description: Production API
security:
- X-Api-Key: []
  X-User-Key: []
  X-Brand-Id: []
tags:
- name: PayMethod
  description: 'The Payment Methods API provides a comprehensive set of endpoints for managing the payment instruments associated with your customer accounts. These endpoints allow you to securely create, store, and manage customer credit cards (CC) and bank accounts (BA) within the RecurringStack platform.


    A key aspect of the RecurringStack architecture is that payment methods are linked directly to a customer_account_id, not to individual subscriptions. This allows a single payment method to be used across multiple subscriptions for the same customer.


    Key Features:


    Create and Store: Add new credit card or bank account details to a customer''s account. Payment information is stored in a PCI compliant manner.


    List and Search: Retrieve a list of all payment methods for a specific customer or look up a single payment method by its ID.


    Manage Default Payment Method: Designate a specific payment method as the default for a customer account. This default method is automatically used for recurring subscription charges and automated invoice payments.


    Verify Instruments: Implement an optional verification process, such as a micro-debit, to confirm the validity of a new payment method before it can be used for transactions.


    View History: Access the complete payment history for a specific payment method or an entire customer account.


    Delete: Permanently and irreversibly remove a payment method from a customer''s account.'
paths:
  /paymethod/list:
    get:
      operationId: ListPayMethod
      tags:
      - PayMethod
      summary: Search payment methods
      description: Get a list or search for a specific payment method on a customer account. Max results 300.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: pay_method_id
        in: query
        required: false
        description: Supply a 'pay_method_id' to retrieve a specific payment method.
        schema:
          type: string
      - name: customer_account_id
        in: query
        required: false
        description: 'Supply a  ''customer_account_id'' to list pay methods connected to a specific customer account.,

          gateway_id'
        schema:
          type: string
  /paymethod/create:
    post:
      operationId: CreatePayMethod
      tags:
      - PayMethod
      summary: Create a new payment method
      description: This endpoint initiates the creation of a new payment asset (Credit Card or Bank Account) within a customer's Wallet. It generates a secure, hosted Wallet Session link, providing a PCI-compliant environment for your customers to enter their sensitive details.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                customer_account_id:
                  type: string
                gateway_id:
                  type: string
                type:
                  type: string
                success_url:
                  type: string
                cancel_url:
                  type: string
                failure_url:
                  type: string
                require_verification:
                  type: string
                custom_field_1:
                  type: string
                custom_field_2:
                  type: string
              required:
              - customer_account_id
              - gateway_id
              - type
              - success_url
              - require_verification
  /paymethod/verify:
    post:
      operationId: VerifyPayMethod
      tags:
      - PayMethod
      summary: Verify a payment method
      description: Utilize this endpoint to verify a payment method.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                pay_method_id:
                  type: string
                micro_charge_amount:
                  type: string
                force_verification:
                  type: string
              required:
              - pay_method_id
  /paymethod/delete:
    delete:
      operationId: DeletePayMethod
      tags:
      - PayMethod
      summary: Delete a payment method
      description: Delete a pay method from an account. The pay method will be unassociated with any existing associated subscriptions.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: pay_method_id
        in: query
        required: true
        description: The 'pay_method_id' you want to delete.
        schema:
          type: string
  /paymethod/setdefault:
    patch:
      operationId: SetDefaultPayMethod
      tags:
      - PayMethod
      summary: Set or unset a payment method as default
      description: 'Set or unset a payment method as default on a customer account. If the payment method is already the defualt for the account, calling this service will remove it. Likewise, if the payment method is currently not the default payment method this service will set it as default.


        Default payment methods are utilized for automated recurring subscription billing / invoice payment when ''auto_renew'' is set to Y on the subscription.'
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                pay_method_id:
                  type: string
                customer_account_id:
                  type: string
                type:
                  type: string
              required:
              - pay_method_id
              - customer_account_id
              - type
components:
  securitySchemes:
    X-Api-Key:
      type: apiKey
      in: header
      name: X-Api-Key
    X-User-Key:
      type: apiKey
      in: header
      name: X-User-Key
    X-Brand-Id:
      type: apiKey
      in: header
      name: X-Brand-Id