RecurringStack Payment API

The Payments API category provides a comprehensive set of endpoints for managing the entire lifecycle of customer payments within RecurringStack. These endpoints allow you to create new payments, retrieve detailed payment histories, and reverse or refund transactions. Payments are a core component of the billing cycle and are tightly integrated with Customers, Invoices, and Subscriptions. This category supports two primary methods for handling payments: real-time processing through a configured payment gateway and the manual recording of payments made via third-party services (e.g., PayPal, bank transfer). This dual functionality provides the flexibility to either charge a customer's stored payment method directly or simply log an external transaction against their account. Key Features: Create Payments: Post a payment against a specific invoice or add funds directly to a customer's prepaid balance. Use the override_billing parameter to record payments made outside of RecurringStack. List Payments: Retrieve a detailed list of payments using a wide range of search criteria, such as customer_account_id, invoice_id, subscription_id, or a gateway's specific payment_transaction_id. Reverse and Refund Payments: Delete a payment record. If the payment was originally processed through a real-time gateway, the system will automatically attempt to issue a refund for the transaction.

GitHub OpenAPI

Operations 3

GET /payment/list List payments using search criteria #
POST /payment/create Post a payment to an existing invoice #
DELETE /payment/delete Delete or reverse a payment #

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-payment-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-payment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RecurringStack Payment 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: Payment
  description: 'The Payments API category provides a comprehensive set of endpoints for managing the entire lifecycle of customer payments within RecurringStack. These endpoints allow you to create new payments, retrieve detailed payment histories, and reverse or refund transactions. Payments are a core component of the billing cycle and are tightly integrated with Customers, Invoices, and Subscriptions.


    This category supports two primary methods for handling payments: real-time processing through a configured payment gateway and the manual recording of payments made via third-party services (e.g., PayPal, bank transfer). This dual functionality provides the flexibility to either charge a customer''s stored payment method directly or simply log an external transaction against their account.


    Key Features:


    Create Payments: Post a payment against a specific invoice or add funds directly to a customer''s prepaid balance. Use the override_billing parameter to record payments made outside of RecurringStack.


    List Payments: Retrieve a detailed list of payments using a wide range of search criteria, such as customer_account_id, invoice_id, subscription_id, or a gateway''s specific payment_transaction_id.


    Reverse and Refund Payments: Delete a payment record. If the payment was originally processed through a real-time gateway, the system will automatically attempt to issue a refund for the transaction.'
paths:
  /payment/list:
    get:
      operationId: ListPayment
      tags:
      - Payment
      summary: List payments using search criteria
      description: List payments connected to a customer account, invoice, or subscription.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: payment_id
        in: query
        required: false
        description: The 'payment_id' of a specific payment.
        schema:
          type: string
      - name: invoice_id
        in: query
        required: false
        description: Provide a 'invoice_id' to list all payments connected to a specific invoice.
        schema:
          type: string
      - name: customer_account_id
        in: query
        required: false
        description: Provive a 'customer_account_id" to list all payments connected to a specific customer account.
        schema:
          type: string
      - name: pay_method_id
        in: query
        required: false
        description: Provide a 'pay_method_id' to list all payments connected to a specific pay method.
        schema:
          type: string
      - name: subscription_id
        in: query
        required: false
        description: Provide a 'subscription_id' to show invoice payments linked to a specific subscription.
        schema:
          type: string
      - name: payment_transaction_id
        in: query
        required: false
        description: Provide a 'payment_transaction_id' to find a specific payment using the payment gateway transaction ID.
        schema:
          type: string
      - name: status
        in: query
        required: false
        description: Options are 1 - successful, 2 - failed, or 3 - reversed.
        schema:
          type: string
  /payment/create:
    post:
      operationId: CreatePayment
      tags:
      - Payment
      summary: Post a payment to an existing invoice
      description: Post a payment to an existing invoice using a pay method on the customers account or using 'Cash' or other form of third party pay method.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                invoice_id:
                  type: string
                customer_account_id:
                  type: string
                pay_method_id:
                  type: string
                apply_to_prepaid_balance:
                  type: string
                override_billing:
                  type: string
                payment_gateway:
                  type: string
                payment_transaction_id:
                  type: string
                amount:
                  type: string
              required:
              - customer_account_id
              - apply_to_prepaid_balance
              - override_billing
              - amount
  /payment/delete:
    delete:
      operationId: DeletePayment
      tags:
      - Payment
      summary: Delete or reverse a payment
      description: Delete an existing payment. If the payment was processed with a real time gateway, RecurringStack™ will attempt to refund the payment using the same gatway.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: payment_id
        in: query
        required: true
        description: The ID of the payment you wish to reverse.
        schema:
          type: string
      - name: customer_account_id
        in: query
        required: true
        description: The 'customer_account_id' of the customer who made the payment.
        schema:
          type: string
      - name: invoice_id
        in: query
        required: true
        description: The 'invoice_id' the payment was intially applied to.
        schema:
          type: string
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