Skip to content

List pending approvals

GEThttps://api.gravv.xyz/v1/fx/orders/pending-approvals

Lists the orders in waiting_approval that are waiting on an approve or reject decision.

Query Params

  • pageinteger

    Page number to return.

    Defaults to 1
  • items_per_pageinteger

    Number of orders per page.

    Defaults to 20

Responses

Language
curl --request GET \
--url 'https://api.gravv.xyz/v1/fx/orders/pending-approvals' \
--header 'Api-Key: <Api Key>' \
--header 'accept: application/json'
{
"data": {
"items": [
{
"id": "4994339f-4a19-47ef-a86b-1005eff0a4d0",
"order_id": "OTC-0VA89I",
"order_type": "market",
"side": "sell",
"pair": {
"base": "USD",
"quote": "ZAR"
},
"amount": "1000.00000000",
"amount_currency": "USD",
"converted_amount": "16242.50000000",
"converted_currency": "ZAR",
"rate": "16.24250000",
"target_rate": null,
"fee": null,
"status": "waiting_approval",
"customer_id": "85034797-3ea1-4ad8-a952-becd67d74acc",
"tenant_id": "dfa96ede-fc13-43cf-8328-8b910d1cd1d2",
"source_type": "account",
"source_id": "74653c7b-ae84-45ab-8085-2d2493f86d81",
"destination_type": "ssi",
"destination_id": "b23ffd0e-d0fc-432e-acc9-c396194121b3",
"created_by_user_id": "804201c6-2760-4da1-9c5e-0ff09ebc3b5e",
"created_by_role": "developer",
"approved_by_user_id": null,
"approved_at": null,
"rejected_by_user_id": null,
"rejected_at": null,
"rejection_reason": null,
"executed_at": null,
"settled_at": null,
"expires_at": null,
"created_at": "2026-07-03T15:32:37.878676Z",
"updated_at": null
}
],
"page": 1,
"items_per_page": 20,
"total_items": 1,
"total_pages": 1
},
"error": null
}