Skip to main content

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

ParameterTypeMandatoryDescription
merchantIdStringMMerchant identifier
userIdString(56)MMerchant's user identifier, value is case sensitive
tokenIdNumberMToken identifier
note
  • Token deletion is permanent and cannot be undone. Ensure the correct tokenId is provided before submitting the request.

Request example

{
"request": "{\"merchantId\":3,\"userId\":\"user1\",\"tokenId\":375}",
"signature": "<signature-generated-for-this-exact-payload>"
}

Response parameters

ParameterTypeMandatoryDescription
responseCodeStringMPayment Gateway response code
messageStringMPayment Gateway response message

Response example

{
"responseCode": "0000",
"message": "Success"
}