Delete Token
Delete a previously generated token
POST https://developer.tingg.africa/checkout/v2/custom/requests/delete-token
Header Parameters
Header | Value | Required |
---|---|---|
Authorization | Bearer <Bearer_Token> generated during authenticate request in step 1. | YES |
Content-Type | application/json | YES |
Request Parameters
Parameter Name | Type | Description |
---|---|---|
merchantTransactionID | string | Unique transaction ID identifying the transaction as given by the merchant |
countryCode | string | Country code for where the request will be processed |
billingDetails | JSON array | Billing Details |
billingDetails.customer.emailAddress | string | Customer email address that is tied to the card token generated |
serviceCode | string | Unique assigned code from your sandbox or shared with you. |
sourceOfFunds.token | string | Tokenized card details |
{
"merchantTransactionID": “twbhbw673782”,
"countryCode":"KE",
"billingDetails": {
"customer": {
"emailAddress": "[email protected]"
}
},
"serviceCode": "STLDEV7509",
"sourceOfFunds": {
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
Response Parameters
Parameter Name | Type | Description |
---|---|---|
statusCode | integer | The response status code. |
statusDescription | string | Exact description of the status. |
{
"status": {
"statusCode": 200,
"statusDescription": "Operation done successfully"
}
}
Updated about 1 year ago