Login

Delete Token

Deletes a saved token.

Headers

HeaderValueRequired
AuthorizationBearer <BEARER_TOKEN> Generated during the authenticate requestYES
Content-Typeapplication/jsonYES
apikeyYES

Request

Parameter NameTypeDescriptionRequired
service_codestringUnique assigned code from your sandbox or shared with youYes
merchant_transaction_idstringUnique transaction ID identifying the transaction as given by the merchant.Yes
payment_option_codeintegerValue representing the payment option for the card changeYes
country_codestringCountry code for where the request will be processedYes
source_Of_funds.tokenstringTokenized card detailsYes
billing_detailsJSON ArrayBilling DetailsYes
billing_details.customer.email_addressstringIt is the customer’s email address that is tied to the card token generatedYes
{
  "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="
}

Response

Parameter NameTypeDescription
statusJSON ObjectContains status code and description
status_codeintegerThe response status code
status_descriptionstringExact description of the status
resultsJSON ArrayNull because no return parameters

Response Body

{
  "status": {
    "status_code": 200,
    "status_description": "Operation done successfully."
  },
  "results": null
}

Status Codes

Status CodeStatus Description
200Indicates a successful request.
400Indicates a bad request.
500Indicates an unathenticated request.
Language
Click Try It! to start a request and see the response here!