Cancellation Service

Revocation 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;

Revocation 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 of the repetition coming from the transaction inquiry/listing service.

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

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

                                            
                                        

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

Revocation Service Response Message Parameters

Parameters
Type
Compulsory
Description

RETURN_CODE

string

Yes

The status of the cancellation process is the code information.

RETURN_MESSAGE

string

Yes

Status message information as a result of the cancellation process.

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

If the RETURN_CODE parameter returns 0 in the Revocation service response message, it indicates that the revocation service was successful.

Last updated