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.
Order Status
After creating an order, you can track its progress through the payment lifecycle.Order lifecycle
All orders follow the same status progression regardless of the payment gateway:| Status | Description |
|---|---|
pending | Order created but payment has not been initiated with the gateway yet. |
processing | Payment is in progress — waiting for buyer action (push approval, OTP, transfer). |
confirmed | Payment completed successfully. Funds will be included in your next settlement. |
cancelled | Order was cancelled — buyer rejected the payment, it timed out, or it was cancelled via API. |
refunded | A refund has been processed for this order. |
Checking order status
You have two options to track when a payment completes:Option 1: Webhooks (recommended)
Configure a webhook URL in your dashboard to receive real-time notifications when an order status changes. This is the most efficient approach — no polling required.Option 2: Polling
If you cannot receive webhooks, poll the order status endpoint:Cancelling an order
You can cancel an order that is still inpending or processing status:
Orders in
confirmed status cannot be cancelled. To reverse a confirmed payment, use the refund flow.Timeout behavior
Each gateway has a different timeout window. If the buyer does not complete the payment within the timeout period, the order is automatically moved tocancelled status.
| Gateway | Approximate timeout |
|---|---|
| Nequi | ~5 minutes |
| Daviplata | ~5 minutes |
| Breb | ~15 minutes |
| Stripe | Session-based |
Next steps
- Set up Webhooks for real-time notifications
- Review Error Handling for failed payment scenarios
- See Testing to simulate different order outcomes