Cancel an order

Cancels a previously accepted order and optionally offers a refund along with the cancellation. This action can only be performed by the seller or an authorized 3rd party.

🚧

Pending Orders

This action cannot be performed on a pending order. See the decline endpoint to decline a pending order.

Path Params
string
required

The order ID

Body Params
float

The amount to refund after cancellation. Set it to 0 to offer no refund

string

One of the defined payment methods. This may be skipped if no refund is being offered.

Responses

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