Example of Online Gateway

Api

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


Request

{
    "apiKey": "pxBf7pn6IswN7b4N",
    "lang": "zh_hk",
    "sign": "oqfrzy/ABJH4vn+LA0E4wz1UA0c=",
    "timestamp": 1623205724171
}

Response

{
    "extendParam": "",
    "gateways": [{
                  "type": "WXPAY",
                  "desc": "Wechat Pay",
                  "langDesc": "微信支付",
                  "base64Logo": "data:image/svg+xml;base64,..."
            }, {
                  "type": "ALIPAY",
                  "desc": "Alipay",
                  "langDesc": "支付寶",
                  "base64Logo": "data:image/svg+xml;base64,..."
            }, {
                  "type": "ALIPAYOS",
                  "desc": "Alipay Oversea",
                  "langDesc": "支付寶(香港)",
                  "base64Logo": "data:image/svg+xml;base64,..."
            }, {
                  "type": "FPSPAY",
                  "desc": "Faster Payment System Pay",
                  "langDesc": "轉數快",
                  "base64Logo": "data:image/svg+xml;base64,..."
            }, {
                  "type": "VMPAY",
                  "desc": "Visa/Master Online",
                  "langDesc": "信用卡支付",
                  "base64Logo": "data:image/svg+xml;base64,..."
            }, {
                                    12/22
                  "type": "UNIONPAY",
                  "desc": "Union Pay",
                  "langDesc": "銀聯(信用卡)支付",
                  "base64Logo": "data:image/svg+xml;base64,..."
            }
      ],
      "errorCode": "0",
      "errorMessage": "no error"
}