Accept PaymentsServer to ServerOPayPayment Verification / Query

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:

ParameterDescription
referenceThe unique transaction reference
statusTransaction outcome: success or failed
messageA human-readable status message

Example Redirect URL

https://www.raenest.com/?reference=SSW_17793463341440638&status=success&message=Payment+successful

Server-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.