PAYBY PAY

Operation

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

Payload
{
  "requestTime": 1765858281162,
  "bizContent": {
    "merchantOrderNo": "a4378b52-c9a7-4989-94a1-3fa00863945c",
    "subject": "Your subject",
    "totalAmount": {
      "currency": "AED",
      "amount": 1.01
    },
    "paySceneCode": "EWALLET",
    "paySceneParams": {
      "eWalletCode": "ALIPAYPLUS",
      "subEWalletCode": "ALIPAYALL",
      "osType": "ANDROID",
      "terminalType": "WEB",
      "redirectUrl": "https://paybyUAT.somee.com/Home/returnUrl?Orderid=a4378b52-c9a7-4989-94a1-3fa00863945c",
      "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
{
  "body": {
    "acquireOrder": {
      "merchantOrderNo": "b285c76a-a0d5-44a9-86ab-56d169976cf9",
      "orderNo": "131765858280205704",
      "status": "CREATED",
      "product": "Basic Payment Gateway",
      "totalAmount": {
        "amount": 1.01,
        "currency": "AED"
      },
      "payeeMid": "200000083414",
      "expiredTime": 1765865480799,
      "notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
      "subject": "Your subject",
      "requestTime": 1765858280799,
      "accessoryContent": {
        "amountDetail": {
          "amount": {
            "amount": 1.09,
            "currency": "AED"
          },
          "vatAmount": {
            "amount": 20.65,
            "currency": "AED"
          }
        },
        "goodsDetail": {
          "body": "Gifts",
          "categoriesTree": "CT12",
          "goodsCategory": "GC10",
          "goodsId": "GI1005",
          "goodsName": "candy flower",
          "price": {
            "amount": 10.87,
            "currency": "AED"
          },
          "quantity": 2.0
        },
        "terminalDetail": {
          "merchantName": "Botim Money"
        }
      },
      "paySceneCode": "EWALLET",
      "revoked": "false",
      "reserved": "order desc"
    },
    "interActionParams": {
      "deepLink": "https://app.payby.com/open-iap-cashdesk?ft=7ca3e180ee16487d8e00a499a4ec7561&iapPartnerId=null&iapSign=null&iapDeviceId=null&iapAppId=null"
    }
  },
  "head": {
    "applyStatus": "SUCCESS",
    "code": "0",
    "msg": "SUCCESS",
    "traceCode": "201799"
  }
}