PAYBY PAY
Operation
POST https://uat.test2pay.com/sgs/api/acquire2/placeOrder
Payload
{
"requestTime": 1769974098378,
"bizContent": {
"merchantOrderNo": "02c31dd5-f5a1-41a8-be82-665dc1ce4111",
"subject": "Your subject",
"totalAmount": {
"currency": "AED",
"amount": 1.01
},
"paySceneCode": "DYNQR",
"paySceneParams": {
"redirectUrl": "https://payby.somee.com/Home/returnUrl?Orderid=02c31dd5-f5a1-41a8-be82-665dc1ce4111"
},
"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": "0f33d34b-af12-4334-b0e8-57bef363a89b",
"orderNo": "131769974099605710",
"status": "CREATED",
"product": "Basic Payment Gateway",
"totalAmount": {
"amount": 1.01,
"currency": "AED"
},
"payeeMid": "200000082711",
"expiredTime": 1769981298002,
"notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
"subject": "Your subject",
"requestTime": 1769974098002,
"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": "ekin uat acquire"
}
},
"paySceneCode": "EWALLET",
"revoked": "false",
"reserved": "order desc"
},
"interActionParams": {
"deepLink": "https://app.payby.com/open-iap-cashdesk?ft=ed589081c91c40ef84925395a4584407&iapPartnerId=null&iapSign=null&iapDeviceId=null&iapAppId=null"
}
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"traceCode": "013539"
}
}