Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

1.4 KB
Raw Blame
---
openapi: post /payouts/create
---

Create a payout with `payout_method_data` (including raw card details) or a saved `payout_method_id`.

## Customer creation

Create the customer with `POST /customers`, then pass its ID as `customer.id` or `customer_id`. A customer ID is required for every payout create request. Unknown IDs return `CustomerNotFound` (HTTP 404). Inline customer attributes are ignored.

The customer association is fixed at creation. Update and confirm use the stored ID and ignore supplied IDs.

Payout links require the top-level `customer_id`.

## External-vault card payouts

Use a card saved during a payment. Provide a unique `payout_id`, the saved `payout_method_id`, and the card owner's `customer_id` or `customer.id`.

Set `confirm=true`, `auto_fulfill=true`, `payout_type=card`, and `recurring=false`. These values apply when omitted for external-vault payouts. Send the request from your server; no separate confirmation call is required. For this flow, use the saved `payout_method_id` instead of inline `payout_method_data`. Do not send vault tokens or credentials.

## Retry handling

After a timeout, retrieve the payout using its `payout_id` before submitting another request. Do not create a new payout ID to retry the same payout.

Creating a payout with an existing `payout_id` returns a duplicate-payout error. Use `merchant_order_reference_id` for reconciliation, not retry protection.