Afriex sends real-time webhook notifications to your configured endpoint when important resource changes happen.Documentation Index
Fetch the complete documentation index at: https://docs.afriex.com/llms.txt
Use this file to discover all available pages before exploring further.
How webhooks work
Afriex delivers event notifications for customer, payment method, and transaction updates to the webhook URL you configure in your dashboard.Set up your webhook endpoint
- Open the Dashboard.
- Go to Developers.
- Select the Webhooks tab.
- Save your webhook URL.
https://your-domain.com/webhook
Afriex IP addresses
Security and signature validation
Every webhook request includes anx-webhook-signature header. You must validate this signature before processing the payload.
- Header:
x-webhook-signature - Signature type: Base64-encoded
RSA-SHA256 - Signed data: Raw request body (
string/Buffer) - Public key source: Dashboard -> Developers -> Webhooks
- Environment note: Staging and production use different public keys
Response and retries
Return a success response quickly after verification and processing.- On success: return
200(or another2xxstatus) within about 5 seconds - On verification failure: return
400or401 - Retry behavior: Afriex retries failed deliveries up to 12 times with exponential backoff (starting at 30 seconds).
- 30s → 1m → 2m → 4m → 8m → 16m → 32m → 1h → 2h → 4h → 8h → 16h
