/api/v2/banking/orders/tradePOST /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
| Field | Type | Required | Description |
|---|---|---|---|
| accountId (query) | string | No | |
| userId (query) | unknown | No |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | string | No | Order 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. |
| quoteRequestId | string | No | Quote 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. |
| moveMoneyRequestId | string | No | Optional 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. |
| payments | object | No | Company 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
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | string | No | Order ID for the trade |
| bank | string | No | Bank identifier |
| settlement | EqualsMoneyTradeSettlement | No | Settlement details for trade |
| trade | EqualsMoneyTradeDetails | No | Trade execution details |
400 — Bad Request
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
401 — Unauthorized
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
403 — APPROVED_BANKING_FLOW_REQUIRED for JWT payment execution, or CONVERSION_QUOTE_REQUIRED when no owned conversion quote matches both IDs.
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
404 — NOT_FOUND: account/user is outside the company or a JWT conversion budget is not owned by the user.
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
409 — CONVERSION_QUOTE_EXPIRED after two minutes, or CONVERSION_IN_PROGRESS for an already submitted, uncertain or concurrent conversion.
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
500 — Internal Server Error
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
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.