Confirm Order

All orders created with the create order endpoint require confirmation, some orders require a confirmation code (see requires_confirmation_code in the Create Order endpoint); this endpoint is used for confirming orders.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

The response body mirrors the order envelope returned by Create Order and Order Details, with updated state, last_updated_at, and (for send-family operations) submitted_at fields. Confirming an order with an embedded auto-redeem (swap / send / sell) also returns the nested redeem_investment block that was executed as part of the operation.

📘

Reference ID and customer amount

The reference_id and customer fields in the request body are optional:

  • reference_id may be supplied here only if it was not sent on order creation.
  • customer represents the real amount accepted by the customer after the partner's fees are applied. It is echoed back in the response under the operation block.

Error Responses

Error responses include error_code, error_msg, and a request_id field for tracking. Some errors may include additional context fields depending on the error type.

StatusError CodeDescription
400insufficient_fundsCustomer does not have enough balance
400expired_orderThe order has expired
400invalid_order_stateThe order is not in a state that allows confirmation (for example, already confirmed or cancelled)
400invalid_parametersThe request body is malformed (for example, an invalid confirmation_code or a reference_id that was already set on creation)
400quote_amount_too_highThe quote amount computed at confirmation time exceeds the maximum allowed (max_amount, requested_amount)
403forbiddenThe application (or customer token) does not contain the required scope for the operation
404not_foundThe order was not found
500internal_errorAn internal service failed while confirming the order. Safe to retry.
Path Params
string
required
string
required
Body Params
string

Some orders required confirmation code (see requires_confirmation_code in the Create Order endpoint)

string

Must not be sent if already set

customer
object

The real amount accepted by the customer after applying all the partner's fees

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json