Deletes a saved token.
| Header | Value | Required |
|---|
| Authorization | Bearer <BEARER_TOKEN> Generated during the authenticate request | YES |
| Content-Type | application/json | YES |
| apikey | | YES |
| Parameter Name | Type | Description | Required |
|---|
| service_code | string | Unique assigned code from your sandbox or shared with you | Yes |
| merchant_transaction_id | string | Unique transaction ID identifying the transaction as given by the merchant. | Yes |
| payment_option_code | integer | Value representing the payment option for the card change | Yes |
| country_code | string | Country code for where the request will be processed | Yes |
| source_Of_funds.token | string | Tokenized card details | Yes |
| billing_details | JSON Array | Billing Details | Yes |
| billing_details.customer.email_address | string | It is the customer’s email address that is tied to the card token generated | Yes |
{
"service_code": "{{service_code}}",
"country_code": "KEN",
"billing_details": {
"customer": {
"email_address": "[email protected]"
}
},
"merchant_transaction_id": "MT546871087",
"payment_option_code": "ECO_CARD",
"source_Of_funds": "SUt1U2VaOUNVU0pwd2xjYXBnQlRjU0tzR1l2cHFaUlc3OVk0MllTMWl5ND0="
}
| Parameter Name | Type | Description |
|---|
| status | JSON Object | Contains status code and description |
| status_code | integer | The response status code |
| status_description | string | Exact description of the status |
| results | JSON Array | Null because no return parameters |
{
"status": {
"status_code": 200,
"status_description": "Operation done successfully."
},
"results": null
}
| Status Code | Status Description | |
|---|
| 200 | Indicates a successful request. | |
| 400 | Indicates a bad request. | |
| 500 | Indicates an unathenticated request. | |