Stripe · Arazzo Workflow

Stripe Reverse Payout

Version 1.0.0

Create a payout, retrieve it to confirm settlement, then reverse it back to the balance.

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

Provider

stripe

Workflows

reverse-payout
Create a payout, verify it, then reverse it back to the balance.
Creates a Payout, retrieves it to read its current status, then reverses the payout to return the funds to the Stripe balance.
3 steps inputs: amount, currency outputs: payoutId, reversedPayoutId, status
1
createPayout
postPayouts
Create a Payout for the requested amount and currency.
2
getPayout
getPayoutsPayout
Retrieve the payout to read its current status before reversing.
3
reversePayout
postPayoutsPayoutReverse
Reverse the payout to return funds to the Stripe balance.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Stripe Reverse Payout
  summary: Create a payout, retrieve it to confirm settlement, then reverse it back to the balance.
  description: >-
    The reverse-a-paid-payout pattern for clawing funds back into the Stripe
    balance. The workflow creates a Payout, retrieves it to confirm its status,
    then reverses the payout so the funds return to the available balance. 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: payoutsApi
  url: ../openapi/stripe-payouts-api-openapi.yml
  type: openapi
workflows:
- workflowId: reverse-payout
  summary: Create a payout, verify it, then reverse it back to the balance.
  description: >-
    Creates a Payout, retrieves it to read its current status, then reverses the
    payout to return the funds to the Stripe balance.
  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.
  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
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      payoutId: $response.body#/id
  - stepId: getPayout
    description: Retrieve the payout to read its current status before reversing.
    operationId: getPayoutsPayout
    parameters:
    - name: payout
      in: path
      value: $steps.createPayout.outputs.payoutId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: reversePayout
    description: Reverse the payout to return funds to the Stripe balance.
    operationId: postPayoutsPayoutReverse
    parameters:
    - name: payout
      in: path
      value: $steps.createPayout.outputs.payoutId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      reversedPayoutId: $response.body#/id
      status: $response.body#/status
  outputs:
    payoutId: $steps.createPayout.outputs.payoutId
    reversedPayoutId: $steps.reversePayout.outputs.reversedPayoutId
    status: $steps.reversePayout.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-reverse-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 email required.

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