PAYBY PAY

Operation

POST https://api.botim.money/sgs/api/acquire2/placeOrder

Payload
{
  "requestTime": 1782041726224,
  "bizContent": {
    "merchantOrderNo": "ad8a0252-257c-4f4b-b539-d15a0f0bf0e4",
    "subject": "Your subject",
    "totalAmount": {
      "currency": "AED",
      "amount": 1.01
    },
    "paySceneCode": "EWALLET",
    "paySceneParams": {
      "eWalletCode": "payby",
      "osType": "ANDROID",
      "terminalType": "WEB",
      "redirectUrl": "https://paybyuat.somee.com/Home/returnUrl?Orderid=ad8a0252-257c-4f4b-b539-d15a0f0bf0e4",
      "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": "ad8a0252-257c-4f4b-b539-d15a0f0bf0e4",
      "orderNo": "131782041726801399",
      "status": "CREATED",
      "product": "Basic Payment Gateway",
      "totalAmount": {
        "amount": 1.01,
        "currency": "AED"
      },
      "payeeMid": "200000751900",
      "expiredTime": 1782048926224,
      "notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
      "subject": "Your subject",
      "requestTime": 1782041726224,
      "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": "Test-Astra-BD"
        }
      },
      "paySceneCode": "EWALLET",
      "revoked": "false",
      "reserved": "order desc"
    },
    "interActionParams": {
      "deepLink": "https://app.payby.com/open-iap-cashdesk?ft=34ab2bc8e1114f5ba9f40025635ac221&iapPartnerId=null&iapSign=null&iapDeviceId=null&iapAppId=null"
    }
  },
  "head": {
    "applyStatus": "SUCCESS",
    "code": "0",
    "msg": "SUCCESS",
    "traceCode": "568729"
  }
}