PAYBY PAY
Operation
POST https://uat.test2pay.com/sgs/api/acquire2/placeOrder
Payload
{
"requestTime": 1775082644340,
"bizContent": {
"merchantOrderNo": "20279d77-f9d7-4164-b9ae-4573a04051ab",
"subject": "Your subject",
"totalAmount": {
"currency": "AED",
"amount": 1.01
},
"paySceneCode": "PAYPAGE",
"paySceneParams": {
"redirectUrl": "https://payby.somee.com/Home/returnUrl?Orderid=20279d77-f9d7-4164-b9ae-4573a04051ab"
},
"reserved": "order desc",
"notifyUrl": "https://webhook.site/0747deab-6a94-4411-9c8c-d275ef7f9fbf",
"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
},
"terminalDetail": {
"operatorId": "OP1000000000000001",
"storeId": "SI100000000000002",
"terminalId": "TI100999999999900",
"merchantName": "candy home",
"storeName": "lovely house"
}
}
}
}
Response
{
"body": {
"acquireOrder": {
"merchantOrderNo": "c0a2c7a1-f4f0-4e36-8539-60c604abf95c",
"orderNo": "131775082645085898",
"status": "CREATED",
"product": "Basic Payment Gateway",
"totalAmount": {
"amount": 1.01,
"currency": "AED"
},
"payeeMid": "200000083414",
"expiredTime": 1775089843808,
"notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
"subject": "Your subject",
"requestTime": 1775082643808,
"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=01284ea5f348449e95e51cd9a65c589c&iapPartnerId=null&iapSign=null&iapDeviceId=null&iapAppId=null"
}
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"traceCode": "512403"
}
}