Order Confirm
Introduction
Once you have confirmed the user’s payment in your system, you need to call this API to trigger the fiat settlement to the merchant.
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 about 1 month ago