v1

latestOpenAPI 3.0.02026-07-2464438356.8 KB
Payouts

Create a Payout Request

Creates a Payout Request. The Payout Request can have multiple recipients, each of which can be a fiat or blockchain payout.

post/api/payouts/payout

Headers

on-behalf-ofstring

Organization ID to act on behalf of

idempotency-keystring uuid

Optional UUID to safely retry requests without creating duplicate operations. Subsequent requests with the same key and identical body return the original cached response with an idempotency-replayed: true response header. Keys expire after 24 hours.

Request body

memostring
sourceAccountIdstring uuid required

The ID of the source account to be used for the payout

Example request

{
  "payouts": [
    {
      "amount": {
        "tokenSymbol": "USDC"
      },
      "payoutDetails": {
        "walletDetails": {
          "walletAddress": "0x0000000000000000000000000000000000000000"
        }
      },
      "supportingDetails": {
        "supportingDocument": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAA..."
      }
    }
  ]
}

Response

The successfully created Payout Request

createdAtstring date-time required
idstring uuid required
memostring
sourceAccountIdstring uuid required
status'AWAITING_EXECUTION' | 'CANCELED' | 'PENDING' | 'EXECUTED' | 'FAILED' required

DEPRECATED: use statusV2 instead. The status of the overall payout request. The initial status is AWAITING_EXECUTION, and the status will change to PENDING. EXECUTED, FAILED, and CANCELED are terminal statuses. EXECUTED indicates the blockchain transaction associated with the entire payout has been executed, but that does not mean your recipients have received funds. Check the individual recipientsPayoutDetails for the status of each recipient.

transactionHashstring

The transaction hash of the blockchain transaction. Present when the status is EXECUTED.

updatedAtstring date-time required

Example response

{
  "payouts": [
    {
      "amount": {
        "tokenSymbol": "USDC"
      },
      "details": {
        "feeTotal": {
          "tokenSymbol": "USDC"
        },
        "fiatAmount": {
          "fiatCurrencyCode": "USD"
        },
        "transactionFee": {
          "tokenSymbol": "USDC"
        }
      },
      "recipientInfo": {
        "details": {
          "details": {
            "truncatedBankAccountNumber": "****1234"
          }
        }
      }
    }
  ]
}