Settlement Report (Reconciliation)

PG Settlement Report provides merchants the fund transfer or balance clearance and settlement reconciliation for a specific date.

Version 1.0, 2.0 and 3.0 will be obsoleted and the following is the latest specification of version 4.0, 5.0 and 6.0. Version 4.0, 5.0 and 6.0 will include refund and chargeback records that are excluded from the settlement batch. Version 5.0 supports pagination for big merchants.


Formula of token

token = md5( merchantID + verify_key + date )

Response

ValueType Format / Max LengthDescription / Example
RecordIdentifier1 characterH: Header
SettlementCurrency3 chars ISO-4217 currency codeDefault is MYR, Settlement currency
SettlementNetAmountnumeric without decimal and commatotal settlement amount, 5331674 is equal to 53,316.74 in that currency
SettlementCommissionAmountnumeric without decimal and commatotal settlement fees, sum of the transfer fees and 3rd party costs
NumberOfTransactionsnumerictotal transaction number of settled transaction or D data type in the report, not including R and G type
BatchReferenceNumberalphanumericReference number of this settlement
SettlementDateYYYYMMDDThe settlement date
SettlementGSTAmountnumeric without decimal and commaSum of settled transactions GST amount
BankAccountalphanumericBank swift code and bank account number
RefundNetAmountnumeric without decimal and commaSum of the refund fees
RefundGSTAmountnumeric without decimal and commaTaxes : GST/VAT on the RefundNetAmount
Variable / ParameterType Format / Max LengthDescription / Example
RecordIdentifier1 characterD: Data or the content, R: Refund / Chargeback Data, G: Data (Original txn data - Txn fully refunded before settlement)
MerchantIdalphanumericMerchant ID in PG system
OrderIdalphanumericOrder references for merchant system
ChannelalphanumericPayment channel / method
AcquirerReferencealphanumericPG transaction ID
RefundIDn(1..11)Refund ID provided by PG
MerchantRefIDans(1..100)Unique refund tracking/reference ID by merchant
RefundFeesnumeric without decimal and commaPG refund fees., D: Always Zero '0' value, R: PG refund fees (positive value)
TransactionNetAmountnumeric without decimal and commaD: amount after deducting MDR/fees. Formula: TransactionGrossAmount - TransactionCommissionAmount, R: amount refunded to the buyer (full/partial) after adding Refund fees. Formula: TransactionGrossAmount + RefundFees
TransactionCommissionAmountnumeric without decimal and commaThe MDR or transaction fee or commission, D: MDR, R: Recalculate MDR for partial refund during captured and charging model have %. Otherwise the value is 0.
TransactionDateYYYYMMDDThe date of transaction been created
TransactionTimeHHmmssThe time of transaction been requested/created
TransactionGrossAmountnumeric without decimal and commaD: Payment amount, R: amount refunded to the buyer (full/partial)
TransactionCurrency3 chars ISO-4217 currency codeThe currency sent in by merchant or most of the time, paid by the buyer
TransactionGSTnumeric without decimal and commaTaxes : GST/VAT/WHT/EWT
TransactionGatewayFeenumeric without decimal and commaGateway fee
TransactionGatewayFeeCurrency3 chars ISO-4217 currency codeMYR, SGD, USD, ...
SettlementNetAmountInProcessingCurrencynumeric without decimal and commaD: TransactionNetAmount after deducting GST. Formula: TransactionGrossAmount - TransactionCommissionAmount - TransactionGST, R: TransactionNetAmount after deducting GST. Formula: NEGATIVE (TransactionGrossAmount + RefundFees + TransactionGST - TransactionCommissionAmount)
SettlementNetAmountnumeric without decimal and commaNet amount in settlement currency, after forex conversion (round to 2 decimal place)., Formula: SettlementNetAmountInProcessingCurrency times Forex
SettlementCurrency3 chars ISO-4217 currency codeMYR, SGD, USD, ...
Forexnumeric without 8 digit decimal and commaForex rate for multi currency transactions. Eg: 1.00000000 = 10000000
StatusalphanumericThe transaction status., Usually SETTLED for D, REFUND for R, CANCELLED for G
Variable / ParameterType Format / Max LengthDescription / Example
RecordIdentifier1 characterF: Record summary
NumberOfTransactionsTotalintegerTotal number of D records
NumberOfTransactionsShownintegerTotal number of D records been display
FilterTransactionsTotalPagesintegerTotal available pages for D records
FilterTransactionsLimitPerPageintegerLimit record been display for D records

Note: F row only available in version 5.0 and when page value is more than 0. To speed up the response on the subsequence pages, row R and G will be excluded and may only appear at page 1.

Error (always in JSON format)

Variable / ParameterDescription / Example
successfalse
tokeninvalid token
dateinvalid date format, eg. yyyy-mm-dd
Language
Click Try It! to start a request and see the response here!