Example of Online Query

Api:

https://pms-prod-fps.ttretail.com/tt-pms-ws/online/query


Request

{
    "apiKey": "pxBf7pn6IswN7b4N",
    "timestamp": "1623724168633",
    "sign": "6qLdwsBVo1brE2A2n7IVMtFsMAM=",
    "type": "WXPAY",
    "rrn": "25115260676212289",
    "storeCode": "ST01",
    "tillId": "01"
}

Response

{
    "type": "WXPAY",
    "rrn": "25115260676212289",
    "storeCode": "ST01",
    "tillId": "01",
    "txDateTime": "2021-06-01T15:01:13+0800",
    "amt": 1,
    "additionalAmt": 0,
    "ccy": "HKD",
    "lang": null,
    "gwRefStatus": "01",
    "gwRefCode": "4200001019202106017620699482",
    "gwErrorCode": "0",
    "gwErrorMessage": "SUCCESS",
    "extendParam": "",
    "orgRrn": "",
    "orgGwRefCode": "",
    "errorCode": "0",
    "errorMessage": "SUCCESS"
}