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 requesting a payout quote. Provide exactly one of sendAmount / receiveAmount.

receiver
object
required

The receiving side of a payout to create: the payout address the funds are credited to.

receiveCurrency
string
required

Currency to send to the receiver. Must be supported by the selected payout address.

Pattern: ^[A-Z0-9]{2,15}$
Example:

"INR"

financialAccountId
string

Financial account debited. One of the accounts from GET /v3/common/financial-accounts.

Minimum string length: 1
Example:

"finacc_eUzeSQF9ZY6q4x8AhBskUf"

sendAmount
string

Total to debit, fees included. Provide exactly one of sendAmount / receiveAmount.

Pattern: ^[0-9]+(\.[0-9]{1,8})?$
Example:

"1000.00"

receiveAmount
string

Amount to deliver on the receive side. Provide exactly one of sendAmount / receiveAmount.

Pattern: ^[0-9]+(\.[0-9]{1,8})?$
Example:

"83450.00"

rail
enum<string>

USD only, and required on every USD quote: one of the rails the payout address takes for USD, ACH, FEDWIRE or SWIFT. Left out on USD, or given on any other corridor, it is refused with VALIDATION_BODY_FAILED at /rail.

Available options:
SEPA,
SWIFT,
IMPS,
NEFT,
RTGS,
SPEI,
CO_ACH,
BREB,
IPP,
UAEFTS,
FPS,
ACH,
FEDWIRE
Example:

"ACH"

quoteForSeconds
integer

How long the resulting quote's price is held, in seconds. Omit to default to 60, or your organization's configured hold when one is set.

Example:

60

sender
object

A reference to an account by id: the sender, named on the quote or, for an inline payout, on the payout itself. The resulting payout is created in this account's name; the funds still move from your financial account, never from theirs. It must hold an ACTIVE capability whose grants include SEND_PAYOUTS_TO_THIRD_PARTIES and whose coverage extends to the destination; see Working with capabilities for what that coverage requires.

Response

success

data
object
required

The requested resource, collection, or aggregate.