Cancel Order
Allows the buyer to cancel an order. The order status will be updated to cancelled.
HTTP Request
-
POST
/api/v3/fiat/customer/order/cancel -
Note: Request parameters should be passed as key=value&key=value in the URL query string. JSON body is not supported.
-
Applicable scope: Only orders placed by the user as a buyer can be canceled. Orders with a status of
NOT_PAIDorPAIDcan be canceled.
Required Permission: P2P Deal Order
Request Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| advOrderNo | string | yes | Unique identifier of the order |
| cancelType | integer | yes | Cancellation reason. See the CancelType enum for possible values. |
| cancelRemark | string | no | Additional description of the cancellation reason |
Request
&advOrderNo=d1374993604725850112&cancelType=1&cancelRemark=test
Response Parameters
| Name | Type | Description |
|---|---|---|
| code | integer | 0 indicates success |
| msg | string | Result description |
| data | null | No data returned |
Response
{
"code": 0,
"msg": "success",
"data": null
}