CancelToken

Endpoint

Overview

The "CancelToken" endpoint is a POST request. It is used to remove a certain token. This will be useful to remove the old information of the card in cases like expired card, new card, or stolen card.

The endpoint on Swagger is: Payment_CancelToken.

Now, we are going to declare the endpoint and its models along with each accepted parameter and possible value.

📘

Request Header

Add "Authorization": "Bearer {Token}" to request header. Token of demo configuration can be found here.


Request Model

The request is a POST request with the following query string parameter:

Input ParameterTypeDescription
tokenstring

Response Model

The response is a text in the Message parameter.


Sample Messages

/v2/CancelToken?token=TOKEN2439
{
   "IsSuccess":true,
   "Message":"Canceled successfully",
   "ValidationErrors":null,
   "Data":true
}