Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-Request-Signature
string
header
required

ES256 signature over the canonical request, paired with the bearer JWT nonce.

Headers

Idempotency-Key
string
required

Unique client-generated key identifying this request.

A request that timed out or failed can be replayed safely under the same key. See Idempotency keys.

Pattern: ^[a-zA-Z0-9_-]{1,255}$
Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

X-App-Mode
string

Selects the environment on api.openfx.com. Omit this header or send SANDBOX to use Sandbox. Send LIVE for Live requests. Use an API key for the selected environment. See Environments.

Example:

"SANDBOX"

X-Request-Id
string

Your own correlation id for this request, returned on the response exactly as you sent it.

Optional. Where you send none the response omits it, and the X-Trace-Id response header is the handle to correlate on instead.

Example:

"9f2c1b7e-4d3a-4f81-9c2e-6b0a5d7e1f34"

Body

application/json

Payload for creating a payout, discriminated on type; exactly one variant is ever present.

type
string
required

Fixed discriminator for this variant. Always FROM_QUOTE.

Allowed value: "FROM_QUOTE"
quoteId
string
required

Prior quote whose rate, rail, and routing are applied as-is.

Minimum string length: 1
Example:

"pytqte_7RJWhvQBQPEjJmki5fhBbo"

receiverMemo
string

Free-text memo to the receiver, where the rail carries one. Each rail sets its own rule, and a memo outside it is refused rather than truncated: SEPA and SWIFT take 1 to 140 letters, digits, spaces and / - ? : ( ) . , ' +; SPEI, CO_ACH and BREB 1 to 40 letters, digits and spaces; IPP and UAEFTS 1 to 100 letters, digits and spaces; FPS 1 to 18 letters, digits and spaces; ACH 1 to 10 uppercase letters, digits, spaces and & - . $ * / # @ %, and is required; FEDWIRE 1 to 140 letters, digits, spaces and / ? : ( ) . , ' + -, and is left empty when omitted. IMPS, NEFT and RTGS carry no memo and refuse one. Omitted on any other rail that carries one, a default is sent: pay followed by the payout id without its pyt_ prefix, or on FPS, whose reference holds 18 characters, the last 18 characters of the payout id without its pyt_ prefix.

Example:

"Invoice INV-2026-0412"

purpose
enum<string>

Why the payout is sent. Required where the receiveCurrency corridor requires one, AED and USD today, and each accepts its own values. AED accepts GOODS_AND_SERVICES, PROFESSIONAL_SERVICES, INFORMATION_TECHNOLOGY, MERCHANT_SETTLEMENT, FINANCIAL_SERVICES, TREASURY_MANAGEMENT, PAYROLL, RENTAL and TRAVEL. USD accepts GOODS_AND_SERVICES, INVESTMENTS, PAYROLL, TREASURY_MANAGEMENT and OTHER. Not accepted on any other corridor (EUR, INR, INRO, GBP, MXN, COP). A missing, refused or unaccepted purpose fails with PURPOSE_INVALID. Stated on the payout only: a quote takes no purpose.

Available options:
GOODS_AND_SERVICES,
INVESTMENTS,
PAYROLL,
TREASURY_MANAGEMENT,
PROFESSIONAL_SERVICES,
INFORMATION_TECHNOLOGY,
MERCHANT_SETTLEMENT,
FINANCIAL_SERVICES,
RENTAL,
TRAVEL,
OTHER
Example:

"GOODS_AND_SERVICES"

metadata
object

Optional client-owned metadata bag (string keys → string values). Echoed back verbatim on a successful response. Limits: at most 50 keys, keys up to 40 characters, values up to 500 characters, and at most 8192 bytes when serialized.

Example:

Response

success

data
object
required

The requested resource, collection, or aggregate.