curl --request POST \
--url https://api.wava.co/v1/orders/cancel/{orderId} \
--header 'merchant-key: <api-key>'{
"data": {
"id_order": 12345,
"status": "cancelled"
}
}Cancel a pending or processing order. Confirmed orders cannot be cancelled — use the refund endpoint instead.
Cancelling an order also cancels any pending payment transactions associated with it.
curl --request POST \
--url https://api.wava.co/v1/orders/cancel/{orderId} \
--header 'merchant-key: <api-key>'{
"data": {
"id_order": 12345,
"status": "cancelled"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.wava.co/llms.txt
Use this file to discover all available pages before exploring further.
Merchant key for store identification. Required for all API requests.
merchant-key: YOUR_MERCHANT_KEY
Order ID to cancel.
x >= 112345
Order cancelled successfully
Show child attributes