Developer Platform
Approve or reject OTC orders
An OTC order placed with an API key needs no approval. It starts as pending, and Gravv debits the source at once. See Place an OTC order.
Approval applies only to orders placed by a Gravv Dashboard user who has no approval permission. Those orders start as waiting_approval. An authorized Dashboard user then approves or rejects each one:
- Approving moves the order to
pending. - Rejecting moves the order to
rejected.
Approving and rejecting are Dashboard actions. There is no API for them.
To find Dashboard orders still waiting, list your orders with status=waiting_approval, or list the orders waiting for approval. If you use a scoped API key, it needs the fx:order_approve permission to read that list.
Was this page helpful?