> For the complete documentation index, see [llms.txt](https://docs.payvalida.com/api-tarjeta/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payvalida.com/api-tarjeta/delete-token.md).

# Delete token

## &#x20;<img src="/files/-MgBo8F61Z8GZifJ9pDj" alt="" data-size="original">&#x20;

{% hint style="success" %}
**Production:** [**https://api.payvalida.com/v4/tokenizacion**](https://api-test.payvalida.com/v4/tokenizacion)
{% endhint %}

{% hint style="success" %}
**Sandbox:** [**https://api-test.payvalida.com/v4/tokenizacion**](https://api-test.payvalida.com/v4/tokenizacion)
{% endhint %}

### Parameters in JSON format in the body of the DELETE request.

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

| Field        | Required |     Type     | Description                                                          |
| ------------ | :------: | :----------: | -------------------------------------------------------------------- |
| merchantId   |    si    | Alphanumeric | Name of the merchant.                                                |
| token        |    si    | Alphanumeric | Token to delete.                                                     |
| checksum     |    si    | Alphanumeric | Checksum formed as follows: SHA512(merchantId + token + fixed\_hash) |
| {% endtab %} |          |              |                                                                      |

{% tab title="Request (example)" %}

```javascript
{
	"merchantId": "mi_comercio",
	"checksum": "573ADFB03SF9F6ADECCAAD5B849BE246D63039E06630C745EF652642B7E5151EC5486F9F53D24B9AF266B1CD3C3C452E8C7AD35CA6586B37B70CD73",
  "token": "12345678901234"
}
```

{% endtab %}

{% tab title="Response (example)" %}

```go
{
    "CODE": "0000",
    "TEXT": "OK"
}
```

{% endtab %}
{% endtabs %}

{% hint style="success" %}
Successful API responses have the **CODE == "0000"**. Any other code represents an error which is described in the **TEXT** response field.
{% endhint %}
