DYNQR
Operation
POST https://api.payby.com/sgs/api/acquire2/placeOrder
Payload
{
"requestTime": 1786713098647,
"bizContent": {
"merchantOrderNo": "5340a7f1-e04e-4261-98e3-e3a89a2ccd97",
"subject": "Your subject",
"totalAmount": {
"currency": "AED",
"amount": 1.01
},
"paySceneCode": "DYNQR",
"paySceneParams": {
"redirectUrl": "https://paybyuat.somee.com/Home/returnUrl?Orderid=5340a7f1-e04e-4261-98e3-e3a89a2ccd97"
},
"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": "5340a7f1-e04e-4261-98e3-e3a89a2ccd97",
"orderNo": "131786713098756641",
"status": "CREATED",
"product": "Basic Payment Gateway",
"totalAmount": {
"amount": 1.01,
"currency": "AED"
},
"payeeMid": "200001181101",
"expiredTime": 1786720298647,
"notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
"subject": "Your subject",
"requestTime": 1786713098647,
"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 merchant for inapp and smartcode"
}
},
"paySceneCode": "DYNQR",
"revoked": "false",
"reserved": "order desc"
},
"interActionParams": {
"tokenUrl": "https://qr.payby.com?BIZ_TYPE=202&ft=5f38ef553af0486bb39aa8bc94105abd&t=1786713099045"
}
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"traceCode": "816731"
}
}