Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
FX List orders

List orders

Lists your orders, newest first. `status` is the only filter.

GEThttps://api.gravv.xyz/v1/fx/ordersTry it
Api-Key

Query parameters

NameDescription
page:integer
Default1
items_per_page:integer
Page size. The API caps values above 100 at 100.
Default20
status:string

An order made with an API key starts as pending, and Gravv debits its source at once. It then becomes completed, or cancelled if the debit fails. waiting_approval is for orders made in the Dashboard.

Possible values: waiting_approval, pending, completed, rejected, cancelled

Response

Returns 200 OK. A page of orders

NameDescription
data:object
Show 5 child attributesobject
error:null

Errors

StatusMeaning
200A page of orders
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?page=1&items_per_page=20&status=pending' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"items": [
{
"id": "2d4f6a8c-1b3d-4e5f-8a7b-9c0d1e2f3a4b",
"quote_id": "GRVOTC_3F9A1C",
"status": "pending",
"from_currency": "USD",
"to_currency": "XAF",
"rate": "605.25",
"source_amount": "10000",
"destination_amount": "6052500",
"source_type": "internal_account",
"source_id": "4b3a2c1d-0e9f-4a8b-9c7d-6e5f4a3b2c1d",
"destination_type": "external_account",
"destination_id": "b7e1c2d3-4f5a-4b6c-9d8e-7f6a5b4c3d2e",
"order_type": "market",
"client_reference": "inv-2026-1042",
"metadata": {
"desk": "treasury"
},
"created_at": "2026-10-12T09:21:04Z"
}
],
"items_per_page": 20,
"page": 1,
"total_items": 1,
"total_pages": 1
},
"error": null
}