Transaction


List transactions#

GET /transactions

Returns a list of transactions.

Parameters#

NameTypeRequiredDescription
pageNointeger(int32)truePage index to navigate through all the pages
pageSizeinteger(int32)trueNumber of transaction per page. Min: 5 Max: 100
sortBystringfalseField name to be sorted the result list (default is TransactionID)
sortDirectionstringfalseASC or DESC (default is DESC)
transactionIdstring(20)falseTransaction Unique ID
merchantIdstring(50)falseMerchant Unique ID
currencystring(3)falseTransaction currency as defined by ISO4217. eg: 764, 840 for THB, USD respectively.
channelstring(3)falseTransaction channel name
terminalIdstring(25)falseTerminal Unique ID
invoicestring(25)falseInvoice number
payerAccountNostring(20)falseCredit card number that is masked or other payer identity
payerNamestring(25)falsePayer name
approvalCodestring(6)falseApproval code of the transaction
dateFromstringfalseTransaction from date. Format: "DD/MM/YYYY" or "DD/MM/YYYY HH:mm:ss" Note that if date format "DD/MM/YYYY" is used, the time for this field will assume to be 00:00:00.
dateTostringfalseTransaction to date. Format: "DD/MM/YYYY" or "DD/MM/YYYY HH:mm:ss" Note that if date format "DD/MM/YYYY" is used, the time for this field will assume to be 00:00:00.
amountFromstring(13)falseTransaction amount from. Amount should always contain two decimal points i.e. Amount "100.00" is defined as "100.00", Amount "99.12" is defined as "99.12"
amountTostring(13)falseTransaction amount to. Amount should always contain two decimal points i.e. Amount "100.00" is defined as "100.00", Amount "99.12" is defined as "99.12"
qrCodeIDinteger(int64)falseUnique identifier of QR code
statusCodestringfalseTransaction status code. See Appendix C.2
maidstring(6)falseMasterCard Merchant Assigned Identifier
mvvstring(6)falseVISA Merchant Verification Value
checkSumstringtrueChecksum of the query string

Returns#

NameTypeRequiredDescription
responseCodestringtrueSee Appendix A
pageInfo.totalPageintegertrueNumber of total page
pageInfo.totalRecordintegertrueNumber of total record
transaction.transactionIdstringtrueTransaction Unique ID
transaction.merchantIdstringtrueMerchant Unique ID
transaction.merchantNamestringtrueMerchant name
transaction.terminalIdstringtrueTerminal Unique ID
transaction.invoicestringfalseInvoice number
transaction.amountstringtrueTransaction amount
transaction.currencystringtrueTransaction currency as defined by ISO4217. eg: 764, 840 for THB, USD respectively.
transaction.transactionDatestringtrueTransaction datetime. Format: "DD/MM/YYYY" or "DD/MM/YYYY HH:mm:ss" Note that if date format "DD/MM/YYYY" is used, the time for this field will assume to be 00:00:00.
transaction.channelCodestringtrueTransaction channel code
transaction.channelNamestringtrueTransaction channel name
transaction.statusCodestringtrueTransaction status code. See Appendix C.2
transaction.statusDescriptionstringtrueUnique identifier of QR code
transaction.qrCodeIDintegertrueUnique identifier of QR code
transaction.maidstring(6)falseMasterCard Merchant Assigned Identifier
transaction.mvvstring(6)falseVISA Merchant Verification Value
transaction.seqNointegertrueSequence number of this object in an array
checkSumstringtrueChecksum of the query string

Get a transaction#

GET /transactionDetails

Returns details of a transaction.

Parameters#

NameTypeRequiredDescription
transactionIDinteger(20)trueUnique ID of the transaction
checkSumstringtrueChecksum of the query string. See Checksum for how the checksum value is calculated

Returns#

NameTypeRequiredDescription
responseCodestringtrueSee Appendix A
transactionIdstringtrueTransaction Unique ID
companystringtrueCompany name
merchantIdstringtrueMerchant Unique ID
merchantNamestringtrueMerchant name
terminalIdstringtrueTerminal Unique ID
invoicestringfalseInvoice number
notestringfalseAdditional note
originalAmountstringtrueOriginal paid amount
transactionCurrencystringtrueOriginal transaction currency as defined by ISO4217. eg: 764, 840 for THB, USD respectively.
merchantAmountstringtrueMerchant amount
merchantFeestringtrueMerchant fee amount
merchantVATstringtrueMerchant VAT amount
merchantNetAmountstringtrueMerchant net amount after deduct fee and VAT
merchantCurrencystringtrueOriginal transaction currency as defined by ISO4217
transactionDatestringtrueTransaction datetime. Format: "DD/MM/YYYY HH:mm:ss"
channelCodestringtrueTransaction channel code
channelNamestringtrueTransaction channel name
statusCodestringtrueTransaction status code. See Appendix C.2
statusDescriptionstringtrueUnique identifier of QR code
qrCodeIDintegertrueUnique identifier of QR code
traceNostringfalseSystem trace audit number
merchantPANstringfalseMerchant payer account number
maidstring(6)falseMasterCard Merchant Assigned Identifier
mvvstring(6)falseVISA Merchant Verification Value
discountAmountstringconditionalThe deduction amount of the discount coupon from UPI
checkSumstringtrueChecksum of the query string

Get a transaction by QR ID#

GET /transactionDetailsByQR

Returns details of a transaction by QR ID. Only payment transaction details will be retrieved in this request. Can be requested by providing dynamic QR code ID.

Parameters#

NameTypeRequiredDescription
qRCodeIDinteger(20)trueUnique identifier of QR code
checkSumstringtrueChecksum of the query string. See Checksum for how the checksum value is calculated

Returns#

NameTypeRequiredDescription
responseCodestringtrueSee Appendix A
transactionIdstringtrueTransaction Unique ID
companystringtrueCompany name
merchantIdstringtrueMerchant Unique ID
merchantNamestringtrueMerchant name
terminalIdstringtrueTerminal Unique ID
invoicestringfalseInvoice number
notestringfalseAdditional note
originalAmountstringtrueOriginal paid amount
transactionCurrencystringtrueOriginal transaction currency as defined by ISO4217. eg: 764, 840 for THB, USD respectively.
merchantAmountstringtrueMerchant amount
merchantFeestringtrueMerchant fee amount
merchantVATstringtrueMerchant VAT amount
merchantNetAmountstringtrueMerchant net amount after deduct fee and VAT
merchantCurrencystringtrueOriginal transaction currency as defined by ISO4217
transactionDatestringtrueTransaction datetime. Format: "DD/MM/YYYY HH:mm:ss"
channelCodestringtrueTransaction channel code
channelNamestringtrueTransaction channel name
statusCodestringtrueTransaction status code. See Appendix C.2
statusDescriptionstringtrueUnique identifier of QR code
qrCodeIDintegertrueUnique identifier of QR code
traceNostringfalseSystem trace audit number
merchantPANstringfalseMerchant payer account number
maidstring(6)falseMasterCard Merchant Assigned Identifier
mvvstring(6)falseVISA Merchant Verification Value
discountAmountstringconditionalThe deduction amount of the discount coupon from UPI
checkSumstringtrueChecksum of the query string