# Delete a gift card order

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

Part of [Marketplace](https://www.cryptohopper.com/api-documentation/api-reference/marketplace.md) in the Cryptohopper API reference.

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

OAuth scope: `read`, `manage`

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

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `order_id` | string | yes | Gift card order ID of an unpaid order. |

## Example request

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

## Response

Example response (illustrative values):

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

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
