Step 5: Handle Payment Status
Step 5: Handle Payment Status
Payment States
| State | Description |
|---|---|
initiated | Transaction created; customer redirected |
pending | Payment submitted; awaiting confirmation |
success | Payment confirmed and settled |
failed | Payment declined or could not be processed |
expired | Customer did not complete payment in time |
Tracking Methods
1. Webhooks (Recommended)
Apara sends HTTP POST to your endpoint on every status change. Most reliable — should be your source of truth.
2. Redirect URLs
Configure in your transaction request:
successRedirectUrl— customer sent here on successfailureRedirectUrl— customer sent here on failure
3. Dashboard
Manual check under Dashboard → Transactions.
Redirects are great for user experience, but webhooks should be your source of truth.
Was this page helpful?