Skip to main content
Afriex sends real-time webhook notifications to your configured URL whenever a transaction is created or updated.

Security

See Webhooks Introduction for setup, signature validation, and retry behavior.

Event Types

  • TRANSACTION.CREATED - A new transaction has been initiated
  • TRANSACTION.UPDATED - Transaction status or fields have changed

Sample Payloads

Transaction Created

Transaction Updated

Transaction Failed

When status transitions to FAILED or REJECTED, the payload’s meta.failureReason describes why using a stable AFX_* code and a customer-safe message. See Failure reasons for the full code list.
The event field will be TRANSACTION.CREATED or TRANSACTION.UPDATED depending on the action that triggered the notification.

Response

Return 200 (or another 2xx) after successful validation and processing.