Recharge Subscriptions API

Recurring subscription lines that drive future charges and orders.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Subscription Lifecycle Management BC-4240

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions List subscriptions · List subscriptions #
Ask an LLM
“Which subscriptions are active for a customer?”
“Can I list only subscriptions on hold?”
Tell an agent
List the subscriptions on page {page_info}.
Show {limit} of the customer's subscriptions.
POST /subscriptions Create a subscription · Create a subscription #
Ask an LLM
“How do I set up a recurring charge for a customer?”
“Can I schedule the next charge for a future date?”
Tell an agent
Create a subscription for customer {customer_id} at address {address_id}.
Create a subscription for {customer_id} at {address_id} charging {price} every {frequency} {unit}.
GET /subscriptions/{id} Get a subscription · Retrieve a subscription #
Ask an LLM
“What are the details of one subscription?”
“Can I see the next charge date for a subscription?”
Tell an agent
Show subscription {id}.
Get the next charge date for subscription {id}.
PUT /subscriptions/{id} Update a subscription · Update a subscription #
Ask an LLM
“Can I change the quantity or price of an existing subscription?”
“How do I reschedule an existing subscription's next charge?”
Tell an agent
Change the quantity of subscription {id} to {quantity}.
Set the next charge date of subscription {id} to {date}.
DELETE /subscriptions/{id} Delete a subscription · Delete a subscription #
Ask an LLM
“How do I permanently remove a subscription?”
“Can I delete a subscription by its ID?”
Tell an agent destructive · confirm first
Delete subscription {id}.
Remove the subscription with ID {id}.
POST /subscriptions/{id}/change_next_charge_date Change a subscription's next charge date · Change the next charge date #
Ask an LLM
“Can I push a subscription's upcoming charge out to a later day?”
“How do I move the next billing date for a customer's subscription?”
Tell an agent
Change the next charge date of subscription {id}.
Reschedule the upcoming charge for subscription {id} to a new date.
POST /subscriptions/{id}/cancel Cancel a subscription · Cancel a subscription #
Ask an LLM
“How do I cancel a customer's subscription?”
“Can I cancel a subscription without deleting it?”
Tell an agent destructive · confirm first
Cancel subscription {id}.
End the subscription with ID {id} now.
POST /subscriptions/{id}/activate Reactivate a cancelled subscription · Activate a cancelled subscription #
Ask an LLM
“Can I turn a cancelled subscription back on?”
“How do I reactivate a subscription that was cancelled?”
Tell an agent
Activate cancelled subscription {id}.
Reactivate subscription {id} so it charges again.

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/recharge-payments:recharge-payments-subscriptions-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

recharge-payments-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Recharge Subscriptions API
  description: The Recharge API is a REST API (with a few RPC-style action endpoints) for building and operating subscription and recurring-billing commerce on top of Recharge.
  version: 2021-11
  contact:
    name: Recharge
    url: https://developer.rechargepayments.com
  termsOfService: https://getrecharge.com/legal
servers:
- url: https://api.rechargeapps.com
  description: Recharge API
security:
- apiToken: []
tags:
- name: Subscriptions
  description: Recurring subscription lines that drive future charges and orders.
paths:
  /subscriptions:
    get:
      operationId: listSubscriptions
      tags:
      - Subscriptions
      summary: List subscriptions
      description: Retrieves a list of subscriptions, optionally filtered by customer, address, status, or product.
      parameters:
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/PageCursor'
      responses:
        '200':
          description: A list of subscriptions.
          content:
            application/json:
              schema:
                type: object
                properties:
                  subscriptions:
                    type: array
                    items:
                      $ref: '#/components/schemas/Subscription'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
    post:
      operationId: createSubscription
      tags:
      - Subscriptions
      summary: Create a subscription
      description: Creates a new subscription for a customer address and payment method.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Subscription'
      responses:
        '201':
          description: The created subscription.
          content:
            application/json:
              schema:
                type: object
                properties:
                  subscription:
                    $ref: '#/components/schemas/Subscription'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
  /subscriptions/{id}:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      operationId: getSubscription
      tags:
      - Subscriptions
      summary: Retrieve a subscription
      responses:
        '200':
          description: The requested subscription.
          content:
            application/json:
              schema:
                type: object
                properties:
                  subscription:
                    $ref: '#/components/schemas/Subscription'
        '404':
          $ref: '#/components/responses/NotFound'
    put:
      operationId: updateSubscription
      tags:
      - Subscriptions
      summary: Update a subscription
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Subscription'
      responses:
        '200':
          description: The updated subscription.
    delete:
      operationId: deleteSubscription
      tags:
      - Subscriptions
      summary: Delete a subscription
      responses:
        '204':
          description: The subscription was deleted.
  /subscriptions/{id}/change_next_charge_date:
    parameters:
    - $ref: '#/components/parameters/Id'
    post:
      operationId: changeNextChargeDate
      tags:
      - Subscriptions
      summary: Change the next charge date
      description: Sets the date of the next scheduled charge for a subscription.
      responses:
        '200':
          description: The updated subscription.
  /subscriptions/{id}/cancel:
    parameters:
    - $ref: '#/components/parameters/Id'
    post:
      operationId: cancelSubscription
      tags:
      - Subscriptions
      summary: Cancel a subscription
      responses:
        '200':
          description: The cancelled subscription.
  /subscriptions/{id}/activate:
    parameters:
    - $ref: '#/components/parameters/Id'
    post:
      operationId: activateSubscription
      tags:
      - Subscriptions
      summary: Activate a cancelled subscription
      responses:
        '200':
          description: The activated subscription.
components:
  responses:
    NotFound:
      description: The requested resource was not found.
    RateLimited:
      description: Too many requests. Recharge uses a leaky-bucket rate limiter (bucket of 40 requests, leaking 2 per second). Retry after at least 2 seconds.
    Unauthorized:
      description: The API token is missing or invalid.
  parameters:
    Limit:
      name: limit
      in: query
      required: false
      description: The maximum number of results per page (default 50, max 250).
      schema:
        type: integer
        default: 50
        maximum: 250
    PageCursor:
      name: page_info
      in: query
      required: false
      description: Cursor for cursor-based pagination, taken from the Link response header.
      schema:
        type: string
    Id:
      name: id
      in: path
      required: true
      description: The unique identifier of the resource.
      schema:
        type: integer
        format: int64
  schemas:
    Subscription:
      type: object
      properties:
        id:
          type: integer
          format: int64
        customer_id:
          type: integer
          format: int64
        address_id:
          type: integer
          format: int64
        status:
          type: string
          enum:
          - active
          - cancelled
          - expired
        product_title:
          type: string
        quantity:
          type: integer
        price:
          type: string
        next_charge_scheduled_at:
          type: string
          format: date
        order_interval_unit:
          type: string
          enum:
          - day
          - week
          - month
        order_interval_frequency:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    apiToken:
      type: apiKey
      in: header
      name: X-Recharge-Access-Token
      description: Store API token generated in the Recharge merchant portal under Apps and integrations.