Card Cancellation Service

Card Cancellation Service Request Model;

Method
API URL
Parameter

POST

https://posservice.esnekpos.com/api/services/RecurringPaymentCancel

JSON File

The parameters to be sent to the service are as follows;

Card Cancellation Service Request Message Parameters

Parameters
Type
Compulsory
Description

MERCHANT

string

Yes

It is a unique credential created specifically for the member business.

MERCHANT_KEY

string

Yes

It is the key information created specifically for the member business.

ORDER_REF_NUMBER

string

Yes

It is the reference number information given by the merchant when sending the payment transaction request. The transaction is carried out by matching the card transaction to be canceled with the reference number of the relevant merchant.

CARD_ID

string

Yes

It is the CARD_ID information among the card information returned from our card listing service. The transaction is carried out by matching the card transaction to be canceled with the reference number of the relevant merchant.

Here is a sample JSON file to send to the service;

{
    "MERCHANT": "TEST1234",
    "MERCHANT_KEY": "4oK26hK8MOXrIV1bzTRVPA==",
    "ORDER_REF_NUMBER": "ORDER_REF_NUMBER",
    "CARD_ID": "13"
}
                                        

Card Cancellation Service Reply Message;

The parameters of the reply message sent from the service after the transaction are as follows;

Card Cancellation Service Response Message Parameters

Parameters
Type
Compulsory
Description

RETURN_CODE

string

Yes

The status of the card insertion process is the code information.

RETURN_MESSAGE

string

Yes

The status message is the result of the card insertion process.

{
    "RETURN_CODE": "0",
    "RETURN_MESSAGE": "SUCCESS",
}
                                        

If the RETURN_CODE parameter is 0 and the RETURN_MESSAGE parameter is SUCCESS in the card cancellation service reply message, it means that the card cancellation service has been successfully completed.

Last updated