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.
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.
Base URLs
The API is available on two environments:| Environment | Base URL |
|---|---|
| Staging | https://sandbox.api.afriex.com |
| Production | https://api.afriex.com |
Authentication
All API endpoints require authentication using an API key. Include your API key in thex-api-key header:
API Versioning
The API supports versioning via thex-api-version header:
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 withdraws 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:
- Sandbox:
34.234.189.210 - Production:
34.197.33.100
Quick Links
- Quickstart Guide - Get up and running in minutes
- Customer API - Manage customer profiles
- Transaction API - Process payments
- Webhook Events - Handle notifications
