Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
FX Get an order

Get an order

Returns one order. `pending` covers both a debit in progress and a debit that landed and is waiting to settle. An unknown order returns a 400.

GEThttps://api.gravv.xyz/v1/fx/orders/{order_id}Try it
Api-Key

Path parameters

NameDescription
order_id:stringRequired
The order_id returned when the order was created

Response

Returns 200 OK. The order

NameDescription
data:object
An order. The response leaves out empty fields.
Show 19 child attributesobject
error:null

Errors

StatusMeaning
200The order
400The request failed. Every FX error is a 400, including not-found and outages. Read error.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/fx/orders/2d4f6a8c-1b3d-4e5f-8a7b-9c0d1e2f3a4b' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"id": "2d4f6a8c-1b3d-4e5f-8a7b-9c0d1e2f3a4b",
"quote_id": "GRVOTC_3F9A1C",
"status": "pending",
"from_currency": "USD",
"to_currency": "XAF",
"pair_code": "string",
"rate": "605.25",
"source_amount": "10000",
"destination_amount": "6052500",
"source_type": "internal_account",
"source_id": "string",
"destination_type": "internal_account",
"destination_id": "string",
"order_type": "market",
"quote_source": "string",
"trade_desk_request_id": "string",
"client_reference": "string",
"metadata": {},
"created_at": "2026-01-01T00:00:00Z"
},
"error": {}
}