Payment Confirmation

Marketplace Payment Confirmation Service Request Model;

Metod
API URL
Parameter

POST

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

JSON File

In order for the store or stores to receive their payments, a request should be sent to the payment completion (confirmation) service by the marketplace. When all stores collect their receivables, the remaining amount is transferred to the marketplace.

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 merchant (Marketplace).

MERCHANT_KEY

string

Yes

It is the key information created specifically for the merchant (Marketplace).

ORDER_REF_NUMBER

string

Yes

It is the reference number information given by the merchant (Marketplace) when sending the payment transaction request. The transaction is carried out by matching the payment transaction to be made to the reference number of the relevant merchant.

EXTERNAL_ID

string

Yes

It's the ID information in the marketplace (merchant) system of the store (submerchant). This information is assigned by the marketplace.

The sample JSON file to be sent to the service is as follows;

                                            
{
    "MERCHANT": "TEST1234",
    "MERCHANT_KEY": "4oK26hK8MOXrIV1bzTRVPA==",
    "ORDER_REF_NUMBER": "412",
    "SubMerchantDetails": [
        {
            "EXTERNAL_ID": "EXTERNAL_ID1"
        },
        {
            "EXTERNAL_ID": "EXTERNAL_ID2"
        }
    ]
}
                                        

Marketplace Payment Confirmation Service Reply Message;

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

Parameters
Type
Compulsory
Descripiton

Data

string

Evet

It is the data information of the approval process.

ResultCode

string

Evet

The status of the confirmation process is the code information.

ResultMessage

string

Evet

The status message is the result of the confirmation process.

Exception

string

Evet

It is the exception status information that occurs during the process for the approval process.


{
    "Data": null,
    "ResultCode": "0",
    "ResultMessage": "SUCCESS",
    "Exception": null
}
                                        

In the marketplace payment confirmation response message, the value of the ResultMessage parameter is SUCCESS and the value of the ResultCode parameter is 0, indicating that the confirmation process was successful.

Last updated