9.2 Cancel the merchant’s collection order (via the merchant platform order number)
#Brief description: This interface is used to cancel the merchant's collection order (via the merchant platform order number)
- Request method: POST
- Request interface: https://gateway-domain/wallet-trade-merchant/v1/receive/cancel
- Request media type (JSON data format)Content-Type: application/json
Query parameters
| Parameter name | Type | Required | Parameter meaning | Parameter description |
|---|---|---|---|---|
key | string | Yes | Merchant key | apiKey |
merchantId | string | Yes | Merchant ID | Obtained by logging into the merchant backend |
orderId | string | Yes | Merchant platform order number | |
sign | string | Yes | Signature | See Signature Algorithm for details |
Request json sample
{
"key": "9yUreYgTRtit39Dy",
"merchantId":302992856974,
"orderId": "conan41121",
"sign": "8c4136cbe2ddfebe3e8c170f5d849c33"
}
Response value
| Parameter name | Type | Parameter meaning | Parameter description |
|---|---|---|---|
code | int32 | Request status | Return code, 0 means the business is successful, otherwise it represents a different error |
success | boolean | Success status | Success identification, consistent with code=0, used for compatibility history |
message | string | Description | Error message. If there is an error, the error message returned |
data | json | Return data | Default null |
Response Example
{
"code": 0,
"success": true,
"message": null,
"data": null
}