Skip to content

Get Order (Single Order)

Request

Retrieves details for single order that has been submitted

Security
sec0
Path
order_idstringrequired

The id of the order to get

Query
fx_currencystring

If this value is passed then an additional object requested_fx is added to the response which contains the fiat_amount converted to this currency.

Headers
Acceptstring
Default:"application/json"
X-Request-Idstring

This is the correlation ID related to the request.

curl -i -X GET \
  'https://docs.banxa.com/_mock/products/legacy-api/openapi/api/orders/{order_id}?fx_currency=string' \
  -H 'Accept: application/json' \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'X-Request-Id: string'

Responses

200

Bodyapplication/json
dataobject
Response
{ "data": { "order": {} } }