Reject order
Rejects an order in waiting_approval. A reason is required. Rejection needs the same approve permission as approval; API keys without it receive a 403.
A rejected order is final. To try again, create a new order.
The Idempotency-Key header is required; requests without it are rejected.
Path Params
order_idstringrequiredThe order reference returned when the order was created.
Body Params
reasonstringrequiredWhy the order is being rejected.
Headers
Idempotency-KeystringrequiredA unique key to prevent duplicate requests. Required on all FX write operations; requests without it are rejected with a
400.