OPay Payment Verification / Query
Use the post-payment redirect parameters and webhook notification to track the transaction outcome.
Post-Payment Redirect
After the customer completes payment on OPay, they are automatically redirected back to the callbackUrl provided in the request body.
The redirect URL includes the following query parameters:
| Parameter | Description |
|---|---|
reference | The unique transaction reference |
status | Transaction outcome: success or failed |
message | A human-readable status message |
Example Redirect URL
https://www.raenest.com/?reference=SSW_17793463341440638&status=success&message=Payment+successfulServer-Side Confirmation
Webhooks are separate from customer redirects and are sent directly to your backend. Use the webhook payload to confirm transaction status before fulfilling orders.
Always verify the status field inside data before fulfilling orders.