Response Codes
Redirect back to site_redirect_url
Query parameters: txnRef, PaymentReference, Amount, err (false|true), ResponseCode, ResponseDescription
| Code | err | Meaning |
|---|---|---|
00 | false | Payment successful — wallet debited, payment held until delivery |
10 | true | Insufficient wallet balance — member declined at checkout |
11 | true | Other failure (bad hash, invalid key, duplicate order id, session expiry…) |
Server-to-server: GET /api/v1/gettransaction?live_api_key=&order_id=
Response: { ResponseCode, Amount, ResponseDescription }
| Code | Meaning |
|---|---|
00 | Transaction found and successful — safe to fulfill |
02 | Duplicate order id (two active transactions share this order id) |
03 | Transaction not found for this order id |
04 | Invalid live_api_key |
05 | Missing live_api_key parameter |
06 | Missing order_id parameter |
Webhook events
POST to your configured URL with headers X-QOOP-Pay-Event and X-QOOPay-Signature: sha256=<HMAC-SHA256 of raw body with your webhook signing secret>. Events: transaction.success, transaction.failed, escrow.released, payout.paid. Failed deliveries retry 3 times with backoff (1m, 5m).
{
"event": "transaction.success",
"data": {
"order_id": "ORD-99824-Q",
"transaction_ref": "QP-5D56AEE1D9E37_16045",
"payment_reference": "PAYREF-...",
"amount": "50000.00",
"status": "successful",
"customer": "Babatunde Adeleke",
"merchant": "Slot Systems Limited",
"escrow_state": "ESCROW_HOLD"
}
}The escrow.released event reports your settlement breakdown: { "amount": "50000.00", "commission": "2500.00", "settlement_amount": "47500.00" }.
