> For the complete documentation index, see [llms.txt](https://docs.twosided.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.twosided.io/api-reference/track-a-refund-delete-charge.md).

# Track a refund / Delete charge

<mark style="color:green;">`DELETE`</mark> `/charge/<id>`

Track a new charge

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**URL Parameter**

| Name  | Type   | Description                                      |
| ----- | ------ | ------------------------------------------------ |
| `ID*` | string | Can be external charge ID, or internal charge ID |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "status": "ok"
}
```

{% endtab %}

{% tab title="400" %}

```json
{
  "error": "Invalid request"
}
```

{% endtab %}
{% endtabs %}
