DYNQR
Operation
POST https://api.payby.com/sgs/api/acquire2/placeOrder
Payload
{
"requestTime": 1765054600318,
"bizContent": {
"merchantOrderNo": "a3a6d66f-ccfe-442e-a981-2e7b2170dee4",
"subject": "Your subject",
"totalAmount": {
"currency": "AED",
"amount": 1.01
},
"paySceneCode": "DYNQR",
"paySceneParams": {
"redirectUrl": "https://payby.somee.com/Home/returnUrl?Orderid=a3a6d66f-ccfe-442e-a981-2e7b2170dee4"
},
"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": "a3a6d66f-ccfe-442e-a981-2e7b2170dee4",
"orderNo": "131765054600900852",
"status": "CREATED",
"product": "Basic Payment Gateway",
"totalAmount": {
"amount": 1.01,
"currency": "AED"
},
"payeeMid": "200000751900",
"expiredTime": 1765061800318,
"notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
"subject": "Your subject",
"requestTime": 1765054600318,
"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": "DYNQR",
"revoked": "false",
"reserved": "order desc"
},
"interActionParams": {
"tokenUrl": "https://qr.payby.com?BIZ_TYPE=202&ft=7ac14d5d372a459fbe948e83fcaae0cb&t=1765054600668"
}
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"traceCode": "328753"
}
}