curl --request POST \
--url https://api.wava.co/v1/orders/refund/{orderId} \
--header 'Content-Type: application/json' \
--header 'merchant-key: <api-key>' \
--data '
{
"id_external": "order-12345"
}
'{
"data": "Refund processed successfully"
}Process a full refund for a confirmed order. Refunds must be requested within 96 hours of the original purchase. Partial refunds are not currently supported.
curl --request POST \
--url https://api.wava.co/v1/orders/refund/{orderId} \
--header 'Content-Type: application/json' \
--header 'merchant-key: <api-key>' \
--data '
{
"id_external": "order-12345"
}
'{
"data": "Refund processed successfully"
}Merchant key for store identification. Required for all API requests.
merchant-key: YOUR_MERCHANT_KEY
Order ID to refund.
x >= 112345
External order ID for additional validation.
"order-12345"
Refund processed successfully
"Refund processed successfully"