Order Reconciliation File Download

Download link interface for reconciliation files.

Request URL

Will be provided via email. The same download task can only be initiated once in 30 minutes.

Download Reconciliation File Request Parameters

Field NameTypeValueRequired
Content-TypeString(30)Fixed value "application/json;charset=utf-8"Yes
X-TIMESTAMPString(29)Current time, format 2022-09-16T16:58:47.964+07:00Yes
X-SIGNATUREString(64)Signature. For details please check Data Signing RulesYes
X-PARTNER-IDString(20)Merchant IDYes
X-REQUEST-IDString(64)Unique ID for each requestYes

Body

ParameterTypeRequiredRemarks
requestIdString(64)YesUnique ID for each request
merchantIdString(20)YesUnique ID provided by the payment gateway to the merchant
transactionTypeString(2)Yes10: Payment
payDateString(10)YesDate, format 2022-09-01

Download Reconciliation File Response Parameters

Header

Field NameTypeValueRequired
Content-TypeString(30)Fixed value "application/json;charset=utf-8"Yes

Body

ParameterTypeRequiredRemarks
requestIdString(64)YesUnique ID for each request
errCodeString(32)NoSee Error Code section
errCodeDesString(128)NoError details based on error code
merchantIdString(20)YesUnique ID provided by the payment gateway to the merchant
fileNameString(200)NoFile name
fileUrlString(200)NoFile download URL (valid for 10 minutes)
fileSizeNumberNoFile size
statusString(1)No0: Creating Task
1: Generating
2: Generated
3: Failed to Generate
Note: If status is 0 or 1, please try again later; if status is 3, please contact technical support.

fileUrl notes

File is a zip archive. After extraction, you will get one or more CSV files named merchantId_payDate_xxx_xxx.csv (xxx are 4-digit numbers).

CSV File Format

delimiter = ",";
quote = '"';
RecordSeparator = "\r\n";

CSV Columns (API v2.4)

MerchantNo,PaymentType,SettlementNo,SettlementType,SettlementStatus,RequestAmount,Amount,FeeType,TransFeeRate,TransFeeAmount,TotalTransFee,PaylabsOrderNo,MerchantOrderNo,RequestTime,PayTime,PayCode,VatFee,TotalFeeWithTax
Field NameDescription
MerchantNoMerchant partner identifier / Merchant ID
PaymentTypePayment channel or method used
SettlementNoSettlement batch reference number
SettlementTypeSettlement type (channel or paylabs)
SettlementStatusSettlement status
RequestAmountRequested transaction amount
AmountFinal processed transaction amount
FeeTypeFee type calculation
TransFeeRateTransaction fee percentage rate
TransFeeAmountFixed transaction fee amount
TotalTransFeeTotal transaction fee
PaylabsOrderNoPaylabs transaction order number
MerchantOrderNoMerchant order reference number
RequestTimeTimestamp when request was initiated
PayTimeTimestamp when payment succeeded
PayCodePayment code or VA number
VatFeeVAT fee amount
TotalFeeWithTaxTotal transaction fee inclusive of VAT / tax