OuiPay
Webhooks

Events

Webhook event types and payload fields.

Subscribers may register for these event types:

EventWhen
payment.completedPayment attempt completed
payment.failedPayment attempt failed
transfer.processingTransfer entered processing
transfer.completedTransfer completed
transfer.failedTransfer failed
service_order.completedService order completed
service_order.failedService order failed
exchange.completedExchange order completed
transaction.status_changedPlatform transaction status changed

Envelope

Deliveries carry an event type and a compact data object with ids, amounts, currencies, and statuses. They do not include secrets or full account PII.

payment.completed / payment.failed

{
  "transaction_id": "01M2S18...",
  "payment_attempt_id": "01M2S19...",
  "amount_minor": 50000,
  "currency": "NGN",
  "country_code": "NG"
}

payment.completed also includes provider_slug and provider_reference.

transfer.*

{
  "transaction_id": "01M2S18...",
  "transfer_id": "01M2S19...",
  "amount_minor": 250000,
  "currency": "NGN",
  "country_code": "NG",
  "provider_slug": "…",
  "provider_reference": "…"
}

service_order.*

{
  "transaction_id": "01M2S18...",
  "service_order_id": "01M2S19...",
  "service_code": "electricity",
  "amount_minor": 10000,
  "currency": "NGN"
}

exchange.completed

{
  "transaction_id": "01M2S18...",
  "order_id": "01M2S19...",
  "reference": "…",
  "source_currency": "NGN",
  "dest_currency": "GHS",
  "source_amount_minor": 100000,
  "dest_amount_minor": 85000
}

transaction.status_changed

{
  "transaction_id": "01M2S18...",
  "type": "payment",
  "from_status": "processing",
  "to_status": "completed",
  "amount_minor": 50000,
  "currency": "NGN"
}

Fetch full detail with GET /api/v1/external/transactions/{transaction_id}.