DELETE https://api.cryptohopper.com/v1/market/giftcards/orders/{order_id}

Deletes a gift card order you placed that is not paid yet.

OAuth scope: read manage About scopes

Only available to Cryptohopper's own apps; other apps get a 403 error.

Example request

curl -X DELETE "https://api.cryptohopper.com/v1/market/giftcards/orders/ORDER_ID" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
order_id string Required Gift card order ID of an unpaid order.

Response

Example response (illustrative values)

{
    "data": "Giftcard order deleted."
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.