QRPAY

Operation

POST https://uat.test2pay.com/sgs/api/acquire2/placeOrder

Payload
{
  "requestTime": 1769931508486,
  "bizContent": {
    "merchantOrderNo": "a818524f-fab8-451b-82f3-8780882bfd43",
    "subject": "Your subject",
    "totalAmount": {
      "currency": "AED",
      "amount": 1.01
    },
    "paySceneCode": "EWALLET",
    "paySceneParams": {
      "eWalletCode": "ALIPAYPLUS",
      "subEWalletCode": "ALIPAYALL",
      "osType": "ANDROID",
      "terminalType": "WEB",
      "redirectUrl": "https://payby.somee.com/Home/returnUrl?Orderid=a818524f-fab8-451b-82f3-8780882bfd43",
      "oneTimePayment": "false",
      "eid": "ENCRYPTED_EMIRATES_ID_SHA256"
    },
    "reserved": "order desc",
    "notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
    "accessoryContent": {
      "amountDetail": {
        "vatAmount": {
          "currency": "AED",
          "amount": 20.65
        },
        "amount": {
          "currency": "AED",
          "amount": 1.09
        }
      },
      "goodsDetail": {
        "body": "Gifts",
        "categoriesTree": "CT12",
        "goodsCategory": "GC10",
        "goodsId": "GI1005",
        "goodsName": "candy flower",
        "price": {
          "currency": "AED",
          "amount": 10.87
        },
        "quantity": 2
      }
    }
  }
}
Response
{
  "head": {
    "applyStatus": "SUCCESS",
    "code": "62021",
    "msg": "INVALID_AUTHCODE",
    "traceCode": "730613"
  }
}
QR Code