Cancel order
curl --request POST \
--url https://api.sand.etherfuse.com/ramp/order/{order_id}/cancel \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.sand.etherfuse.com/ramp/order/{order_id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/ramp/order/{order_id}/cancel"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Orders
Cancel order
Cancels an order that is in created status. Only orders accessible to your API key
can be canceled.
Orders left in created (unfunded) are also auto-canceled after 24 hours, so you don’t need to cancel abandoned orders manually.
POST
/
ramp
/
order
/
{order_id}
/
cancel
Cancel order
curl --request POST \
--url https://api.sand.etherfuse.com/ramp/order/{order_id}/cancel \
--header 'Authorization: <api-key>'const options = {method: 'POST', headers: {Authorization: '<api-key>'}};
fetch('https://api.sand.etherfuse.com/ramp/order/{order_id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sand.etherfuse.com/ramp/order/{order_id}/cancel"
headers = {"Authorization": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)