Order Confirm
Introduction
Create order after user scan the QRcode.
- Simple confirmation endpoint that requires only order number.
- Returns the confirmed order number in the model field.
- Follows standard response format with success/error indicators.
- Requires signature for security.
API Description
Request Method:POST
Request Path:/open/api/simplePay/confirm
Parameters
Request Parameters
Parameter | Sign | Mandatory | Type | Length | Description |
---|---|---|---|---|---|
appId | Y | Y | string | 64 | AppId is unique for merchant |
sign | N | Y | string | 512 | Sign |
OrderNo | Y | Y | string | 64 | Order number |
Example
{
"appId": "TEST000001",
"sign": "E2A00ADB7FCD36E3F3C662E8E96111E07289F05D5B1FC274DE6D75B0D716F7D2F33D6F6144A3A1E5462D2D250E2998A4B829A6C98DFFA8CDC600C7ADDF15206E",
"orderNo": "400017452877657970441"
}
Response Parameters
Parameter | Type | Description |
---|---|---|
success | boolean | Success |
error | boolean | Error |
code | long | Response code |
msg | string | Response message |
traceId | string | Trace id |
model | object | Response content |
Example
{
"code": "0",
"msg": "success",
"model": "400017452877657970441",
"traceId": "6806fe08bee493bbe70cdfdafe24ee18",
"success": true,
"error": false
}
Updated 10 days ago