Installment And Rate Listing

Installment And Rate Listing Request Model;

Method
API URL
Parameter

POST

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

JSON File

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

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.

AMOUNT

string

Yes

Installment and rate amount information

MERCHANT_PUBLIC_TOKEN

string

Yes

Merchant Public Token information at https://pos.esnekpos.com/Pages/DealerProfile.aspx. MERCHANT and MERCHANT_KEY information should not be sent when this field is sent.

BIN

string

Yes

First 6 digits of the card

COMMISSION_FOR_CUSTOMER

int

Yes

Information on whether the commission will be charged to the customer or the seller. (0 or 1 sent)

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

                                            
{
      "MERCHANT": "TEST1234" , 
      "MERCHANT_KEY": "4oK26hK8MOXrIV1bzTRVPA==",
      "AMOUNT": "1250,00",
      "MERCHANT_PUBLIC_TOKEN": "8f72166e-251f-4ae2-b92a-c5364f17109d",
      "COMMISSION_FOR_CUSTOMER": 1
}
                                        

Installment and Rate Listing Service Reply Message;

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

Parameters
Type
Compulsory
Description

STATUS

string

Yes

The result of the payment transaction is the status information.

RETURN_CODE

string

Yes

The status of the payment process is the code information.

RETURN_MESSAGE

string

Yes

The status message is the result of the payment process.

FAMILY

string

Yes

Card family information.

INSTALLMENT

int

Yes

It is the number of installments.

RATE

double

Yes

Commission rate information.

AMOUNT_PER_INSTALLMENT

int

Yes

It is the amount information for each installment.

AMOUNT_TOTAL

int

Yes

It is the total amount information.

AMOUNT_BE_SEND_TO_DEALER

int

Yes

It is the amount information sent to the member workplace.

                                            
{
    "STATUS": "SUCCESS",
    "RETURN_CODE": "0",
    "RETURN_MESSAGE": "SUCCESS",
    "INSTALLMENTS": [
        {
            "FAMILY": "bonus",
            "INSTALLMENT": 1,
            "RATE": 0.03,
            "AMOUNT_PER_INSTALLMENT": 0,
            "AMOUNT_TOTAL": 0,
            "AMOUNT_BE_SEND_TO_DEALER": 0
        },
        {
            "FAMILY": "bonus",
            "INSTALLMENT": 2,
            "RATE": 0.042,
            "AMOUNT_PER_INSTALLMENT": 0,
            "AMOUNT_TOTAL": 0,
            "AMOUNT_BE_SEND_TO_DEALER": 0
        } ,
        .
        .
        .
        {
            "FAMILY": "axess",
            "INSTALLMENT": 1,
            "RATE": 0.03,
            "AMOUNT_PER_INSTALLMENT": 0,
            "AMOUNT_TOTAL": 0,
            "AMOUNT_BE_SEND_TO_DEALER": 0
        },
        .
        .
        .
    ]
}
                                        

Last updated