Skip to main content

Refund Payment Parameters

Method POST

URL

https://xxx.finexusgroup.com/fnx-fintech/xxx/mqpos-host/thirdparty/refund

Mandatory Fields

Field NameTypeLengthDescriptionExample
MsgVerString20Version number."1"
TxnIDString50Unique transaction ID assigned by caller application."2021061414062021072"
MIDString15Merchant ID."0000100000130XX"
LocalTxnDTTimeString14Local date and time which transactions takes place in YYYYMMDDhhmmss format."20200131091025"
AmtTxnString12Transaction amount."100"
CrcyTxnString3Original transaction currency numeric code."458"
OrgTxnIDString20Original transaction id, to retrieve the original transaction."2021061414062021072"
OrgHTRString20Original HTR, to retrieve the original transaction.
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

Example Message

POST Request
curl -X POST
"https://xxx.xxx.com/xxx/xxx/mqpos-host/thirdparty/refund" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
MsgVer:"1"
TxnID:"2021061414062021072"
MID:"0000100000130XX"
LocalTxnDTTime:"20200131091025"
AmtTxn:"100""
CrcyTxn:"458"
OrgTxnID:"2021061414062021072"
OrgHTR:"123"
sourceSystem:"mxx"
sequenceNo:"2022091511262180"
signedMessage:""
}'