Cancel a payment order

Cancel an existing payment order. This interface can be called to cancel the payment
for non-card payment scenarios or other cases when the payment is not completed.
After cancellation is completed, the status will change to canceled, and the original
payment link (including checkout page and iframe mode) will become invalid and
cannot be used for payment anymore.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 10 and 64

Merchant trade number to be cancelled, globally unique/idempotent

string
length ≤ 255

Cancellation reason

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json