Welcome to the Afriex Business API
The Afriex Business API enables you to manage customers, process payments, handle payouts, and receive real-time notifications via webhooks. This documentation provides comprehensive guides and API reference for integrating with our platform.OpenAPI spec
Get the full OpenAPI spec at this endpoint for code generation, SDKs, and API tooling.
MCP server
Add the Afriex Business API to your MCP client and search the docs from Cursor, Claude Code, and other MCP-enabled tools.
Postman collection
Import every endpoint into Postman, with sandbox example requests and API key auth already set up.
Base URLs
The API is available on two environments:Authentication
All API endpoints require an API key. Include it in thex-api-key header:
API versioning
The API supports versioning via thex-api-version header:
2026-05-18 is currently the only supported version, and it is what you get if you omit the header. Any other value is rejected with 400 Bad Request and an Unsupported API version message.
Which version number is which
You will see four version numbers in these docs. Only thex-api-version header selects how the API behaves.
To see what changed in how the API behaves, read the changelog.
Core Resources
The API provides the following core resources:Customers
Create and manage customer profiles with optional KYC information.
Payment Methods
Set up bank accounts, mobile money, and crypto wallets for payouts.
Transactions
Process deposits and withdrawals with real-time status tracking.
Webhooks
Receive real-time notifications for customer, payment method, and transaction events.
Webhook firewall requirement: If you plan to receive webhooks, allowlist the following Afriex IP addresses on your server:
See Webhook IP addresses for details.
Quick Links
- Quickstart Guide - Get up and running in minutes
- Authentication - Get an API key and keep it safe
- Postman collection - Try every endpoint from Postman
- Customer API - Manage customer profiles
- Transaction API - Process payments
- Webhook Events - Handle notifications
