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"
}
}Merchant key for store identification. Required for all API requests.
merchant-key: YOUR_MERCHANT_KEYOrder ID to cancel.
x >= 112345
Order cancelled successfully
Show child attributes