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.
Quickstart Guide
Get up and running with the Afriex Business API in three simple steps.Prerequisites
Before you begin, you’ll need:- An Afriex Business account (Sign up here)
- Your API key from the dashboard
- A tool for making HTTP requests (cURL, Postman, or your preferred HTTP client)
Step 1: Get your API key
Obtain your API credentials
Obtain your API credentials
- Log in to the Afriex Dashboard
- Navigate to Settings > API Keys
- Generate a new API key for your integration
- Copy and securely store your API key
The dashboard has a Test / Live toggle at the top. Make sure you are in Test mode while developing so you use sandbox credentials. Switch to Live mode only when you are ready to go to production. Each mode has different API keys.
Step 2: Make your first API call
Test the API with cURL
Test the API with cURL
Create your first customer:
Verify the response
Verify the response
A successful response will return the created customer:
Step 3: Process your first transaction
Create a transaction
Create a transaction
Once you have a customer and payment method set up, you can create a transaction:
Next Steps
Now that you’ve made your first API calls, explore these guides:Planning to use webhooks? Allowlist these Afriex IP addresses on your server so webhook deliveries are not blocked:
- Sandbox:
34.234.189.210 - Production:
34.197.33.100
API Reference
Explore all available endpoints and their parameters.
Customers
Learn how to manage customer profiles and KYC.
Payment Methods
Set up bank accounts and mobile money wallets.
Webhooks
Receive real-time notifications for events.
