Account structure
A payout involves three resources:FinancialAccountis yours: the balance the payout is funded from.Accountidentifies the recipient and holds their capabilities. You create it.PayoutAddressis the recipient’s bank account, where the money lands. You create this too.
financialAccountId and credits receiver.payoutAddressId. You don’t name the recipient’s account separately, because the address already belongs to it. For identity, roles, and archiving, see Account model.
You can omit financialAccountId when requesting a payout quote or creating an INLINE payout. If you provide it, use a valid finacc_ id. Quote and payout responses always include the financial account used. A FROM_QUOTE payout uses the financial account from its quote.
Endpoints
Every
POST takes an Idempotency-Key header, and a request without one fails with 428 IDEMPOTENCY_KEY_MISSING. The samples on this page send a fresh UUID. See Idempotency.
Supported payout currencies
Payouts settle in the currencies below. Each is enabled per organization: until yours is, listing the financial accounts that can fund it fails with403 PAYOUT_CURRENCY_NOT_ENABLED, and a quote or payout fails with 409 PAYOUT_NOT_ENABLED, or with 409 CAPABILITY_NOT_ACTIVE while the capability never activates. Capabilities lists the capability each one needs.
A dash means this page lists no corridor-specific limit. EUR, MXN, COP, AED, and GBP have their own guides. These rules apply to every corridor:
purpose. A quote carries nopurpose, so send it when you create the payout. Each corridor that requires one accepts its own values: the AED guide lists the AED ones. A missing or refusedpurposefails with422PURPOSE_INVALID.receiverMemo. The limit counts letters, digits, and spaces. A memo that is too long or holds any other character fails with400RECEIVER_MEMO_INVALID. OpenFX never truncates it.- Amount limits. A
receiveAmountoutside the limit is refused when the payout is priced, with422AMOUNT_OUT_OF_RANGE.error.detailscarries the exact bound. - Funding currency. An AED payout is funded only from a USDC, USDT, EURC, or AED balance, and a GBP payout only from a GBP, USD, USDC, USDT, or EURC balance. Any other send currency fails with
422QUOTE_SEND_CURRENCY_UNAVAILABLE.
Set up the recipient
You do this once per recipient. Before you can pay them, three things must be ACTIVE: the account, the capability the payout needs, and the payout address. Account model describes how each status changes.1
Create an account for your recipient
Create an INDIVIDUAL or ORGANIZATION account with its The response wraps the If the identity is missing fields a capability needs, the request fails with
identity and the capabilities it needs, by id. Include the identity fields each capability requires in the same request. Capabilities lists them.cURL
Account in data. Check it before you wait for webhooks: it shows the account’s status and each capability’s, and anything already resolved won’t send a webhook you need to wait for.422 IDENTITY_REQUIREMENT_UNMET and error.details.issues lists each missing field. Requesting the same capability twice fails with 422 CAPABILITY_DUPLICATE. Requesting one that isn’t offered to the account’s identityType, or that has been retired, fails with 422 CAPABILITY_NOT_REQUESTABLE, and error.details.notRequestable names each.2
Wait for what came back PENDING
The account and its capabilities settle separately, and a payout needs both ACTIVE. The account’s own status is OpenFX’s review of the recipient, so it can be ACTIVE while a capability is still PENDING. A capability usually settles within a minute, though that isn’t guaranteed. Subscribe to these webhooks before you create accounts, instead of polling.
3
Register the payout address
Register the recipient’s bank account against their The response wraps the
accountId. routingFamily decides which fields you send:The account must already hold a capability that can receive at this address. It doesn’t need to be ACTIVE yet, but if there’s none at all the request fails with
409 ADDRESS_SERVES_NO_CAPABILITY.cURL
PayoutAddress in data. It’s PENDING, or already ACTIVE if every check finished during the call:4
Wait for the address to activate
Skip this if the create response already showed the outcome.
status reflects every check on the address, including some that verifications[] doesn’t list, so an address can stay PENDING after all its listed verifications have resolved. Checks also continue after activation, so an ACTIVE address can still change status later.Send the payout
Once the account, capability, and address are all ACTIVE, you can send payouts. A payout’sstatus shows how far the money has got. Before your account is debited:
After the debit, PROCESSING continues:
A payout ends in CANCELLED, EXPIRED, FAILED, PROCESSED, or RETURNED.
1
(Optional) Choose the financial account
List the balances that can fund a payout in a given
receiveCurrency. Skip this if you already know the finacc_ id or aren’t specifying a financial account. An empty list means you’re enabled for the currency but hold no balance that can fund it. A 403 PAYOUT_CURRENCY_NOT_ENABLED means you’re not enabled for that currency at all, and a 404 FINANCIAL_ACCOUNT_NOT_FOUND means your organization holds no financial account.cURL
2
Create the payout
With This example funds a EUR payout from a USD balance, which is converted at the quoted rate. It names no
type: "INLINE", one request prices and creates the payout. Send the pytadd_ to credit, either sendAmount or receiveAmount (not both), the receiveCurrency, a sender if the currency requires one, and a purpose if the currency requires one. Optionally, include the finacc_ to debit, as this example does. Supported payout currencies lists which.cURL
sender, because a EUR payout refuses one.The payout starts in REQUIRES_CONFIRMATION, and confirmations[] lists what you need to accept. The price holds for quoteForSeconds (60 seconds unless you ask for longer). If you confirm after fxRates.expiresAt, the payout moves to EXPIRED.You can also get the price first. Create a payout quote moves no money and returns a pytqte_ id, with the rate locked until fxRates.expiresAt. Then create the payout with type: "FROM_QUOTE" and that quoteId. Use this when someone needs to see the price before the payout exists, for example in an approval step.If a required capability is missing or not ACTIVE, you get 409 CAPABILITY_NOT_ACTIVE. If the financial account you name can’t fund a payout in this receiveCurrency, you get 409 QUOTE_FUNDING_ACCOUNT_UNAVAILABLE. If it can’t cover the payout, you get 409 INSUFFICIENT_FUNDS. If the shortfall shows up a moment later, the payout is still created, but it goes straight to FAILED.3
Read the pricing, then confirm or cancel
Check If the payout is no longer waiting for confirmation (it expired, or was already confirmed or cancelled), you get
fxRates, fees, and confirmations[] in the create response. Which confirmations appear depends on the payout.Confirm the payout to accept every entry in confirmations[] at once and move it to ACCEPTED. You can’t accept entries one at a time. To decline, cancel the payout. You can only cancel before confirming, so no money has moved.cURL
409 PAYOUT_CONFIRMATION_NOT_ALLOWED or 409 PAYOUT_CANCELLATION_NOT_ALLOWED.data.previousStatus tells you where the payout came from.
Trace a payout with the receiving bank
settlementTraceId carries the reference the receiving side uses for the payment. Its status starts PENDING and moves to AVAILABLE, or to UNSUPPORTED where the rail issues no reference. It runs on its own clock, so it can still read PENDING after the payout reaches PROCESSED. When it is AVAILABLE, key names the kind of reference and value holds it. The rail decides the key:
Verifications and checks
The recipient is checked in two places, and each check answers a different question. On the payout address, at setup. A name match runs when you create the address, wherever the payment scheme offers one, andverifications[] shows its latest result. An address that isn’t ACTIVE can’t receive payouts.
On the payout, before any money moves. Each entry in confirmations[] is something you accept by confirming. A QUOTE entry covers the rate and fees. An AccountHolderNameConfirmation shows the name check. On a SEPA or GBP payout, the check runs again unless the address’s latest result is MATCH, which the payout then reuses. On other rails with a name check, the payout reuses the address’s result. A reused result keeps its original verifiedAt, so it can predate the payout.
NameMatchResult lists every possible outcome. NO_MATCH rejects a payout address, and a check at payout that returns it refuses the payout with 409 ACCOUNT_HOLDER_MISMATCH. BANK_ACCOUNT_NOT_FOUND rejects the address too: no usable account exists at the details you sent, so the fix is a new address with corrected account details, not a corrected name. A check at payout that returns it refuses the payout with 409 PAYOUT_ADDRESS_BANK_ACCOUNT_NOT_FOUND. Either refusal records the payout FAILED with no confirmations[], returns no pyt_ id, and spends the quote: retrying that quote fails with 409 QUOTE_ALREADY_CONSUMED, so quote again.
Any other result is your call: confirming accepts the name as it is, and cancelling declines it. A check that gets no answer returns UNAVAILABLE. A check that has not returned yet is PENDING, which refuses the payout with 409 ACCOUNT_HOLDER_MISMATCH on SEPA and on GBP.
ACCOUNT_HOLDER_MISMATCH can also arrive after you confirm. The receiving bank runs its own check at settlement, whatever you accepted. If the name doesn’t match, the payout moves to FAILED with that code on data.failure.
Common mistakes
- Paying before the capability is ACTIVE. You can create an address while the capability is PENDING, but the payout itself needs it ACTIVE. Otherwise it fails with
409CAPABILITY_NOT_ACTIVE. - Confirming after the price expires.
fxRates.expiresAtis the deadline. After it, confirming fails with409QUOTE_EXPIRED, or with409PAYOUT_CONFIRMATION_NOT_ALLOWED once the payout has moved to EXPIRED. - Treating PROCESSED as final. The payment can still be returned, which you’ll see as
payments.payout.returnedwithdata.previousStatus: "PROCESSED". - Expecting to confirm past a NO_MATCH. A name check at payout that returns it refuses the payout with
409ACCOUNT_HOLDER_MISMATCH. Create a new payout address in the name the account is held in. - Ignoring
data.previousStatusonpayments.payout.processing,.failed, and.returned. Each of these events can fire for more than one reason. CheckpreviousStatusto know which.
Archiving does not stop a payout in flight
Archiving an account or payout address only blocks new payouts to it. A payout that’s already ACCEPTED, PROCESSING, or IN_REVIEW carries on to the end. Archiving doesn’t cancel or redirect it.What’s next
Payouts in EUR
Paying euro accounts over SEPA or SWIFT.
Payouts to Mexico
Paying Mexican bank accounts over SPEI.
Payouts to Colombia
Paying Colombian bank accounts and Bre-B keys.
Payouts to the UAE
Paying UAE bank accounts by IBAN.
Payouts to the UK
Paying UK bank accounts over Faster Payments.
Account model
How accounts, capabilities, and addresses change status.
Payment Webhooks
Every payout, account, and address event.