Stripe · Arazzo Workflow

Stripe Create and Cancel Payout

Version 1.0.0

Create a payout to a bank account, then cancel it while still pending.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CommerceFinancial-ServicesFintechPaymentsT1ArazzoWorkflows

Provider

stripe

Workflows

create-and-cancel-payout
Create a payout and cancel it before it is paid out.
Creates a Payout for the supplied amount and currency, then cancels the payout while it remains pending.
2 steps inputs: amount, currency, description outputs: payoutId, status
1
createPayout
Create a Payout for the requested amount and currency.
2
cancelPayout
Cancel the pending payout to stop the funds movement.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Stripe Create and Cancel Payout
  summary: Create a payout to a bank account, then cancel it while still pending.
  description: >-
    The payout-then-abort pattern for funds movement that should not complete.
    The workflow creates a Payout for the requested amount, then cancels the
    payout while it is still in a cancellable pending state. 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
sourceDescriptions:
- name: cancelApi
  url: ../openapi/stripe-cancel-api-openapi.yml
  type: openapi
- name: postApi
  url: ../openapi/stripe-post-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-and-cancel-payout
  summary: Create a payout and cancel it before it is paid out.
  description: >-
    Creates a Payout for the supplied amount and currency, then cancels the
    payout while it remains pending.
  inputs:
    type: object
    required:
    - amount
    - currency
    properties:
      amount:
        type: integer
        description: Payout amount in the smallest currency unit.
      currency:
        type: string
        description: Three-letter ISO currency code.
      description:
        type: string
        description: Optional description for the payout.
  steps:
  - stepId: createPayout
    description: Create a Payout for the requested amount and currency.
    operationId: postPayouts
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        amount: $inputs.amount
        currency: $inputs.currency
        description: $inputs.description
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      payoutId: $response.body#/id
      status: $response.body#/status
  - stepId: cancelPayout
    description: Cancel the pending payout to stop the funds movement.
    operationId: postPayoutsPayoutCancel
    parameters:
    - name: payout
      in: path
      value: $steps.createPayout.outputs.payoutId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  outputs:
    payoutId: $steps.createPayout.outputs.payoutId
    status: $steps.cancelPayout.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-create-and-cancel-payout-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.