POST/api/v2/banking/orders/trade

POST /api/v2/banking/orders/trade

Company API-key integrations retain raw Equals Money trade execution for an authorized company account, with optional selected userId. JWT conversions must send both existing orderId and quoteRequestId from that user's prior conversion quote, without payments or moveMoneyRequestId. A completed conversion replay returns its stored receipt. An in-progress or uncertain submission cannot dispatch again; reconcile it. The quote binding does not introduce an OTP field or change the company API-key flow.

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
accountId (query)stringNo
userId (query)unknownNo

Request body

application/json

Request body fields
FieldTypeRequiredDescription
orderIdstringNoOrder ID returned by the quote response. This identifies the provider quote/order to execute. OrderId returned by POST /api/v2/banking/orders/quote. For JWT conversions, must match the authenticated user's prior quote together with quoteRequestId; binding expires after two minutes. Company API-key raw trade execution remains supported.
quoteRequestIdstringNoQuote request ID returned by the quote response. This is different from OrderId and must be sent back with the trade request. QuoteRequestId returned by POST /api/v2/banking/orders/quote. This is separate from OrderId. For JWT conversions, send the existing quoteRequestId together with orderId from that user's quote. This is not a new approval-token field.
moveMoneyRequestIdstringNoOptional move-money request ID. Omit it unless the upstream quote/payment flow returned one. Optional. Omit unless the upstream quote/payment flow returned a moveMoneyRequestId. Omit for JWT conversions; supplying a nonblank value returns 403 APPROVED_BANKING_FLOW_REQUIRED. Existing company API-key provider flow remains supported.
paymentsobjectNoCompany API-key payment flow only on the raw order route. Omit for JWT conversions; supplying it returns 403 APPROVED_BANKING_FLOW_REQUIRED.

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
orderIdstringNoOrder ID for the trade
bankstringNoBank identifier
settlementEqualsMoneyTradeSettlementNoSettlement details for trade
tradeEqualsMoneyTradeDetailsNoTrade execution details

400 — Bad Request

Response 400 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

401 — Unauthorized

Response 401 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

403 — APPROVED_BANKING_FLOW_REQUIRED for JWT payment execution, or CONVERSION_QUOTE_REQUIRED when no owned conversion quote matches both IDs.

Response 403 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

404 — NOT_FOUND: account/user is outside the company or a JWT conversion budget is not owned by the user.

Response 404 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

409 — CONVERSION_QUOTE_EXPIRED after two minutes, or CONVERSION_IN_PROGRESS for an already submitted, uncertain or concurrent conversion.

Response 409 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

500 — Internal Server Error

Response 500 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

Example request

curl -X POST "https://{base_url}/api/v2/banking/orders/trade" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

This page is generated from the live OpenAPI specification and always matches the current API.