Create FX trade

Executes a quote, booking the trade at the quoted rate and settling through the given account. The quote must still be Active; an expired or already-executed quote returns 422. Returns the created trade's id; fetch details via GET /fx/trades/{id}. Retries with the same internalReference return the original trade's id instead of booking a duplicate.

Body Params
string
required
length ≥ 1
string
required
length ≥ 1
string
required
length between 0 and 128
string
required
length ≥ 1
Headers
string
required

Fresh RFC 9449 proof JWT (ES256) signed with the client's DPoP key, binding this request's method and URL to the access token; generate a new proof per request

string
required

RFC 9530 digest of the request body, e.g. sha-256=:...:

string
required

RFC 9421 signature parameters: covered components plus created and keyid

string
required

RFC 9421 signature over the signature base, signed with the client's registered signing key

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json