cURL
curl --request POST \ --url https://app.sandbox.rio.trade/api/orders/{id}/cancel \ --header 'x-api-key: <api-key>'
{ "quoteId": "6660bdefd6c964829d63fcb7", "userId": "65a99abb6a92bda6e52bf7af", "status": "created", "crypto": "USDC", "side": "buy", "fiat": "USD", "createdAt": "2024-06-05T19:35:17.436Z", "cryptoAddress": "0xAf56edF88c429F1D6858f9E47731FF53F6d34D0C", "country": "MX", "amountFiat": 1000, "amountCrypto": 55.51, "fees": { "processingFeeFiat": 0, "transferFeeFiat": 0.17594406538826532, "platformFeeFiat": 20 }, "price": 0.0568362449619, "notes": "Description", "expiredQuotes": [ "<string>" ], "id": "6660bdf5cc4633bc64122f3c" }
Id of the order to be cancelled.
OK
The response is of type object.
object