Base URL
Authentication
All API requests require authentication using API keys. Include these headers in every request:API Version
Current version: 0.3.0 View the Changelog for version history and updates.Request Format
All requests should be sent withContent-Type: application/json header when sending request bodies.
Response Format
All responses are returned in JSON format:Success Responses
200 OK: Request succeeded201 Created: Resource created successfully
Error Responses
400 Bad Request: Invalid request parameters401 Unauthorized: Missing or invalid credentials403 Forbidden: Insufficient permissions404 Not Found: Resource not found429 Too Many Requests: Rate limit exceeded500 Internal Server Error: Server error
Error Format
Rate Limiting
API requests are rate limited to prevent abuse using Redis-backed storage:- Default: 10 requests per minute
- Card Deposits: 5 requests per minute
- Mobile Money Deposits: 10 requests per minute
- Transfers: 10 requests per minute
- Card Payouts: 5 requests per minute
- Mobile Money Cashouts: 2 requests per minute
- Admin Endpoints: 5 requests per minute
429 Too Many Requests response with retry information.
Pagination
List endpoints support pagination using query parameters:page: Page number (default: 1)per_page: Items per page (default: 20, max: 100)
Filtering
Many list endpoints support filtering:Timestamps
All timestamps are returned in ISO 8601 format with UTC timezone:UUIDs
Resources are identified by UUID v4:Idempotency
Some endpoints support idempotency to safely retry requests. Include anIdempotency-Key header:
Webhooks
HOST Pay sends webhook events for important actions. Learn more in the Webhooks section.API Resources
Users
Create and manage end users
Wallets
Handle user wallets and balances
Transactions
Process payments and transfers
Code Examples
We provide code examples in multiple languages:Testing
Use Test Mode credentials to test without processing real transactions:Support
Need help with the API?Documentation
Read our guides
Email Support
Contact our team
Discord
Join our community