PAYBY PAY
Operation
POST https://uat.test2pay.com/sgs/api/acquire2/placeOrder
Payload
{
"requestTime": 1765858275115,
"bizContent": {
"merchantOrderNo": "46a8d400-f3f3-4b83-8556-3f061c15c49a",
"subject": "Your subject",
"totalAmount": {
"currency": "AED",
"amount": 1.01
},
"paySceneCode": "PAYPAGE",
"paySceneParams": {
"redirectUrl": "https://paybyUAT.somee.com/Home/returnUrl?Orderid=46a8d400-f3f3-4b83-8556-3f061c15c49a"
},
"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": "ac348bc2-f3a5-49c5-8340-0b92b64c8eda",
"orderNo": "131765858275204121",
"status": "CREATED",
"product": "Basic Payment Gateway",
"totalAmount": {
"amount": 1.01,
"currency": "AED"
},
"payeeMid": "200000083414",
"expiredTime": 1765865474305,
"notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
"subject": "Your subject",
"requestTime": 1765858274305,
"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=649f086380e643a7815f3906c632b217&iapPartnerId=null&iapSign=null&iapDeviceId=null&iapAppId=null"
}
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"traceCode": "861683"
}
}