Store Credit Reduction
Mağaza Alacak Azaltma Servisi İstek Modeli;
POST
http://posservicetest.esnekpos.com/api/services/AddSubMerchantAmount
JSON File
The amount owed by the store (submerchant) transmitted at the time of collection can be reduced later.
The parameters to be sent to the service are as follows;
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 payment transaction to be canceled is matched with the reference number of the relevant merchant, and the transaction is carried out.
EXTERNAL_ID
string
Yes
It is the ID information in the marketplace (merchant) system of the store (submerchant). This information is assigned by the marketplace.
AMOUNT
int
Yes
It is the information of the amount to be reduced for the reference number to be processed.
Here is a sample JSON file to send to the service;
Store Credit Reduction Service Reply Message;
The parameters of the reply message sent from the service after the transaction are as follows;
RETURN_CODE
string
Yes
The status of the credit reduction operation is the code information.
RETURN_MESSAGE
string
Yes
It is the status message information as a result of the credit reduction operation.
STATUS
string
Yes
Status information as a result of the credit reduction operation.
ORDER_REF_NUMBER
string
Yes
It is the reference number information given for the request in the payment request by the merchant (Marketplace).
REFNO
string
Yes
It is the reference number information given by the FlexPos system for the credit reduction transaction.
The return of STATUS parameter to SUCCESS and RETURN_CODE parameter to 0 in the store credit reduction request response message indicates that the reduction process was successful.
Last updated