Skip to main content

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_PAID or PAID can be canceled.

Required Permission: P2P Deal Order

Request Parameters

NameTypeMandatoryDescription
advOrderNostringyesUnique identifier of the order
cancelTypeintegeryesCancellation reason. See the CancelType enum for possible values.
cancelRemarkstringnoAdditional description of the cancellation reason

Request

&advOrderNo=d1374993604725850112&cancelType=1&cancelRemark=test

Response Parameters

NameTypeDescription
codeinteger0 indicates success
msgstringResult description
datanullNo data returned

Response

{
"code": 0,
"msg": "success",
"data": null
}