RecurringStack Subscription API

The Subscriptions API is the core of the RecurringStack billing engine. It allows you to manage the relationship between a Customer and a Plan, representing the services a customer has signed up for on a recurring basis. Actions performed on subscriptions, such as creation, upgrades, or cancellations, automatically handle proration logic and trigger the necessary invoicing and payment collection workflows. Key Features: Create Subscriptions: Start a new recurring billing relationship for a customer with a specific plan. Retrieve & List Subscriptions: Fetch details of a single subscription or list all subscriptions with powerful filtering options (e.g., by status, plan, or creation date). Update Subscriptions: Seamlessly handle upgrades, downgrades, and changes in quantity. RecurringStack automatically calculates prorations for immediate changes. Cancel Subscriptions: End a customer's subscription, either immediately or at the end of the current billing period. Manage Trials: Easily start subscriptions with a trial period without collecting payment information upfront. A subscription is one of the most important objects in the RecurringStack ecosystem. Its status (e.g., active, trialing, past_due, canceled) dictates a customer's access to your service and drives the entire billing lifecycle.

GitHub OpenAPI

Operations 10

GET /subscription/list List existing subscriptions #
GET /subscription/estimate Estimate the cost of a new subscription #
POST /subscription/create Create a new subscription #
PATCH /subscription/update Update a subscription, including the variables #
POST /subscription/changeproduct Change the product on a subscription #
PATCH /subscription/suspend Suspend an active subscription #
DELETE /subscription/delete Delete or cancel a subscription #
PATCH /subscription/restore Restore a subscription from suspended or paused #
PATCH /subscription/updateautopay Update the auto pay status and pay method for a subscription #
PATCH /subscription/pause Pause a subscription #

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-subscription-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-subscription-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RecurringStack Subscription 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: Subscription
  description: 'The Subscriptions API is the core of the RecurringStack billing engine. It allows you to manage the relationship between a Customer and a Plan, representing the services a customer has signed up for on a recurring basis.


    Actions performed on subscriptions, such as creation, upgrades, or cancellations, automatically handle proration logic and trigger the necessary invoicing and payment collection workflows.


    Key Features:


    Create Subscriptions: Start a new recurring billing relationship for a customer with a specific plan.


    Retrieve & List Subscriptions: Fetch details of a single subscription or list all subscriptions with powerful filtering options (e.g., by status, plan, or creation date).


    Update Subscriptions: Seamlessly handle upgrades, downgrades, and changes in quantity. RecurringStack automatically calculates prorations for immediate changes.


    Cancel Subscriptions: End a customer''s subscription, either immediately or at the end of the current billing period.


    Manage Trials: Easily start subscriptions with a trial period without collecting payment information upfront.


    A subscription is one of the most important objects in the RecurringStack ecosystem. Its status (e.g., active, trialing, past_due, canceled) dictates a customer''s access to your service and drives the entire billing lifecycle.'
paths:
  /subscription/list:
    get:
      operationId: ListSubscription
      tags:
      - Subscription
      summary: List existing subscriptions
      description: List existing subscriptions. Maximum resuts is 100 subscriptions.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: subscription_id
        in: query
        required: false
        description: To list the details of a specific subscription.
        schema:
          type: string
      - name: customer_account_id
        in: query
        required: false
        description: The 'customer_account_id' of an active customer if you want to search using it.
        schema:
          type: string
      - name: status
        in: query
        required: false
        description: Provide a status to search for subscriptions in a specific state. For example, '1' for active.
        schema:
          type: string
      - name: custom_field_1
        in: query
        required: false
        description: The value of your first custom field.
        schema:
          type: string
      - name: custom_field_2
        in: query
        required: false
        description: The value of your first custom field.
        schema:
          type: string
  /subscription/estimate:
    get:
      operationId: EstimateSubscription
      tags:
      - Subscription
      summary: Estimate the cost of a new subscription
      description: Estimate the cost of creating a new subscription for a customer. This endpoint allows you to calculate and optionally display the up-front and future cost of a subscription to a customer.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: customer_account_id
        in: query
        required: true
        description: The 'customer_account_id' of the customer starting the new subscription.
        schema:
          type: string
      - name: product_id
        in: query
        required: true
        description: The 'product_id' the customer wants to subscribe to.
        schema:
          type: string
      - name: attached_components
        in: query
        required: false
        description: A JSON formatted list of components with the appropriate options, see above example. Components must be from the same product group as the product.
        schema:
          type: string
      - name: coupon_code
        in: query
        required: false
        description: One or more coupon codes in comma seperated format. To use multiple coupons all coupons provided must be stackable.
        schema:
          type: string
      - name: pay_method_id
        in: query
        required: false
        description: The 'pay_method_id' of the payment method the customer will use to pay for the subscription. Only provide if you want to confirm the pay methods status before charging.
        schema:
          type: string
      - name: override_initial_billing
        in: query
        required: false
        description: Provide a 'Y' to skip the initial billing of the subscription and mark the invoice as PAID. Useful if you've already charged the customer via PayPal or other payment method.
        schema:
          type: string
  /subscription/create:
    post:
      operationId: CreateSubscription
      tags:
      - Subscription
      summary: Create a new subscription
      description: 'Create a new subscription for a customer.


        When creating a subscription, you must specify a product (product_id) and a customer (customer_account_id). One or more components can be attached to the subscription at the time of it''s creation or you can attach components at any time in the future.'
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                customer_account_id:
                  type: string
                product_id:
                  type: string
                attached_components:
                  type: string
                coupon_code:
                  type: string
                pay_method_id:
                  type: string
                override_initial_billing:
                  type: string
                payment_gateway:
                  type: string
                payment_transaction_id:
                  type: string
                auto_pay:
                  type: string
                custom_field_1:
                  type: string
                custom_field_2:
                  type: string
                VAR1:
                  type: string
                VAR2:
                  type: string
                VAR3:
                  type: string
                VAR4:
                  type: string
                VAR5:
                  type: string
                VAR6:
                  type: string
                VAR7:
                  type: string
                VAR8:
                  type: string
                VAR9:
                  type: string
                VAR10:
                  type: string
              required:
              - customer_account_id
              - product_id
              - override_initial_billing
              - auto_pay
  /subscription/update:
    patch:
      operationId: UpdateSubscription
      tags:
      - Subscription
      summary: Update a subscription, including the variables
      description: 'Update an existing subscription.


        Changes made to a subscription will take effect immediately. If changes are made before the billing cycle renewal date the next payment will be calculated using the updated data (after the change), not the old data (before the change).'
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                subscription_id:
                  type: string
                customer_account_id:
                  type: string
                attached_components:
                  type: string
                coupon_code:
                  type: string
                payment_transaction_id:
                  type: string
                renewal_date:
                  type: string
                pay_method_id:
                  type: string
                auto_pay:
                  type: string
                custom_field_1:
                  type: string
                custom_field_2:
                  type: string
                VAR1:
                  type: string
                VAR2:
                  type: string
                VAR3:
                  type: string
                VAR4:
                  type: string
                VAR5:
                  type: string
                VAR6:
                  type: string
                VAR7:
                  type: string
                VAR8:
                  type: string
                VAR9:
                  type: string
                VAR10:
                  type: string
              required:
              - subscription_id
              - customer_account_id
              - auto_pay
  /subscription/changeproduct:
    post:
      operationId: ChangeProductSubscription
      tags:
      - Subscription
      summary: Change the product on a subscription
      description: Change the product associated with an existing subscription.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                subscription_id:
                  type: string
                customer_account_id:
                  type: string
                product_id:
                  type: string
                remove_components:
                  type: string
                remove_coupons:
                  type: string
              required:
              - subscription_id
              - customer_account_id
              - product_id
  /subscription/suspend:
    patch:
      operationId: SuspendSubscription
      tags:
      - Subscription
      summary: Suspend an active subscription
      description: Place a active subscription in a suspended state.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                subscription_id:
                  type: string
              required:
              - subscription_id
  /subscription/delete:
    delete:
      operationId: DeleteSubscription
      tags:
      - Subscription
      summary: Delete or cancel a subscription
      description: Cancel/delete a subscription.
      responses:
        '200':
          description: Successful operation
      parameters:
      - name: subscription_id
        in: query
        required: true
        description: The id of the subscription you want to delete.
        schema:
          type: string
  /subscription/restore:
    patch:
      operationId: RestoreSubscription
      tags:
      - Subscription
      summary: Restore a subscription from suspended or paused
      description: 'If you suspended, paused, or scheduled a pause for a subscription you can utilize this service to restore it.


        RecurringStack™ may also suspend a subscription in accordance with your dunning rules (usually when a customer has unpaid invoices), this service may be used to override tsuspensions of this type as well.'
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                subscription_id:
                  type: string
              required:
              - subscription_id
  /subscription/updateautopay:
    patch:
      operationId: UpdateAutoPaySubscription
      tags:
      - Subscription
      summary: Update the auto pay status and pay method for a subscription
      description: Update the auto pay status and pay method for a subscription.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                subscription_id:
                  type: string
                customer_account_id:
                  type: string
                auto_pay:
                  type: string
                pay_method_id:
                  type: string
              required:
              - subscription_id
              - customer_account_id
              - auto_pay
  /subscription/pause:
    patch:
      operationId: PauseSubscription
      tags:
      - Subscription
      summary: Pause a subscription
      description: Temporarily pauses billing for a set number of billing cycles without canceling the subscription. The pause takes effect on the next renewal date, so there are no mid-cycle adjustments. Billing resumes automatically when the pause period ends, and the subscription can also be restored manually at any time.
      responses:
        '200':
          description: Successful operation
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                subscription_id:
                  type: string
                customer_account_id:
                  type: string
                pause_reason:
                  type: string
                pause_billing_cycles:
                  type: string
              required:
              - subscription_id
              - customer_account_id
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