DYNQR
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": "db8cb138-46d4-44bc-8b96-a8c75457d88a",
"orderNo": "131775082647086458",
"status": "CREATED",
"product": "Basic Payment Gateway",
"totalAmount": {
"amount": 1.01,
"currency": "AED"
},
"payeeMid": "200000083414",
"expiredTime": 1775089843877,
"notifyUrl": "https://webhook.site/a282b934-dbe1-4419-ba32-62f7ee1ea433",
"subject": "Your subject",
"requestTime": 1775082643877,
"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": "DYNQR",
"revoked": "false",
"reserved": "order desc"
},
"interActionParams": {
"tokenUrl": "https://uat-qr.test2pay.com?BIZ_TYPE=202&ft=93d61321110544dd9a3bd596c1282dea&t=1775082647359"
}
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"traceCode": "752493"
}
}