Stripe · Arazzo Workflow

Stripe Pause and Resume Subscription

Version 1.0.0

Retrieve a subscription, pause its billing collection, then resume it.

1 workflow 1 source API 1 provider
View Spec View on GitHub CommerceFinancial-ServicesFintechPaymentsT1ArazzoWorkflows

Provider

stripe

Workflows

pause-and-resume-subscription
Pause collection on a subscription and then resume it.
Retrieves the subscription, updates it to pause collection with a void behavior, then resumes the subscription to restart billing.
3 steps inputs: billingCycleAnchor, subscription outputs: status, subscriptionId
1
getSubscription
Retrieve the subscription to confirm it exists before pausing.
2
pauseSubscription
Update the subscription to pause its billing collection.
3
resumeSubscription
Resume the subscription so billing continues.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Stripe Pause and Resume Subscription
  summary: Retrieve a subscription, pause its billing collection, then resume it.
  description: >-
    The temporary-hold pattern for subscription billing, used for grace periods
    or account holds. The workflow retrieves the subscription to confirm it
    exists, updates it to pause collection, then resumes the subscription so
    billing continues. Every step spells out its form-encoded request inline so
    the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4240
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4240
      capability_name: Subscription Lifecycle Management
      spec: stripe-subscriptions-api-openapi.yml
      confidence: 0.9
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: subscriptionsApi
  url: ../openapi/stripe-subscriptions-api-openapi.yml
  type: openapi
workflows:
- workflowId: pause-and-resume-subscription
  summary: Pause collection on a subscription and then resume it.
  description: >-
    Retrieves the subscription, updates it to pause collection with a void
    behavior, then resumes the subscription to restart billing.
  inputs:
    type: object
    required:
    - subscription
    properties:
      subscription:
        type: string
        description: ID of the subscription to pause and resume.
      billingCycleAnchor:
        type: string
        description: Billing cycle anchor on resume (e.g. now or unchanged).
  steps:
  - stepId: getSubscription
    description: Retrieve the subscription to confirm it exists before pausing.
    operationId: GetSubscriptionsSubscriptionExposedId
    parameters:
    - name: subscription_exposed_id
      in: path
      value: $inputs.subscription
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      subscriptionId: $response.body#/id
      status: $response.body#/status
  - stepId: pauseSubscription
    description: Update the subscription to pause its billing collection.
    operationId: PostSubscriptionsSubscriptionExposedId
    parameters:
    - name: subscription_exposed_id
      in: path
      value: $inputs.subscription
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        pause_collection:
          behavior: void
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: resumeSubscription
    description: Resume the subscription so billing continues.
    operationId: PostSubscriptionsSubscriptionResume
    parameters:
    - name: subscription
      in: path
      value: $inputs.subscription
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        billing_cycle_anchor: $inputs.billingCycleAnchor
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  outputs:
    subscriptionId: $steps.getSubscription.outputs.subscriptionId
    status: $steps.resumeSubscription.outputs.status

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/stripe-pause-and-resume-subscription-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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