Delete a saved token
Use this endpoint to permanently remove a saved token for a specific merchant user.
Endpoint summary
Path: /tokenization/delete-token
Method: POST
Content-Type: application/json
Request parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| merchantId | String | M | Merchant identifier |
| userId | String(56) | M | Merchant's user identifier, value is case sensitive |
| tokenId | Number | M | Token identifier |
note
- Token deletion is permanent and cannot be undone. Ensure the correct
tokenIdis provided before submitting the request.
Request example
{
"request": "{\"merchantId\":3,\"userId\":\"user1\",\"tokenId\":375}",
"signature": "<signature-generated-for-this-exact-payload>"
}
Response parameters
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| responseCode | String | M | Payment Gateway response code |
| message | String | M | Payment Gateway response message |
Response example
{
"responseCode": "0000",
"message": "Success"
}