Skip to main content

Payment Parameters

Method : POST
URL : https://xxx.finexusgroup.com/fnx-fintech/xxx/mqpos-host/thirdparty/paymentAuthorization

info

Configure the field PmtType for Card and QR payment options.

Mandatory Fields

Field NameTypeLengthDescriptionExample
MsgVerString20Version number."1"
PmtTypeString2Type of payment."01" - Card payment
"04" - Duitnow QR payment (Merchant presented)
"08" - Alipay+ QR payment (Merchant presented)
CallerDeviceTypeString20Caller device type."04" - Web based
EmailString100User email address logged in to the device"customer123@gmail.com"
DeviceSNString20Device Serial Number."PPXXX72209005XXX"
CallerDeviceVerString20Application version number of the caller device."1"
TxnIDString50Unique transaction ID assigned by caller application."2021061414062021072"
LocalTxnDTTimeString14Local date and time which transactions takes place in YYYYMMDDhhmmss format."20200131091025"
AmtTxnString12Transaction amount."100"
CrcyTxnString3Original transaction currency numeric code."458"
sourceSystemString3Channel/Source Name."mxx"
sequenceNoString16A running message sequence number which unique within system on a calendar day and shall restart from 1 every day."2022091511262180"
signedMessageString2048The signature value is generated from other fileds, then signed by RSA private key.

Please refer to Appendix 1.
"..."
Optional Fields
Field Name  TypeLengthDescriptionExample  
DescriptionString256Order descriptionCoffee
OptInPrintReceiptString1Opt-in print receipt feature."Y" - Print receipt button is visible.
"N" - Print receipt button is invisible.

Default is "Y"
OptInSendEReceiptString1Opt-in send e-receipt feature."Y" - Send e-receipt button is visible.
"N" - Send e-receipt button is invisible.

Default is "Y"
OptInPmtAckmntString1Opt-in payment acknowledgement feature."Y" - Payment acknowledgement will be showed.
"N" - Payment acknowledgement will not be showed.

Default is "Y"

Example Message

POST Request
curl -X POST "https://xxx.xxx.com/xxx/xxx/mqpos-host/thirdparty/paymentAuthorization" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
MsgVer:"1"
PmtType:"01"
CallerDeviceType:"04"
Email:"customer123@gmail.com"
DeviceSN:"PPXXX72209005XXX"
CallerDeviceVer:"1"
TxnID:"2021061414062021072"
LocalTxnDTTime:"20200131091025"
AmtTxn:"100""
CrcyTxn:"458"
sourceSystem:"mxx"
sequenceNo:"2022091511262180"
signedMessage:""
}'