Response Codes

Redirect back to site_redirect_url

Query parameters: txnRef, PaymentReference, Amount, err (false|true), ResponseCode, ResponseDescription

CodeerrMeaning
00falsePayment successful — wallet debited, payment held until delivery
10trueInsufficient wallet balance — member declined at checkout
11trueOther 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 }

CodeMeaning
00Transaction found and successful — safe to fulfill
02Duplicate order id (two active transactions share this order id)
03Transaction not found for this order id
04Invalid live_api_key
05Missing live_api_key parameter
06Missing 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" }.