Build on Infinity Africa's payment API
RESTful APIs, signed webhooks, and clear documentation built for modern development teams — go from sandbox to production fast, whether you're integrating a website, mobile app, or ecommerce platform.
Open Full Documentationarrow_forwardAuthorization: Bearer inf_live_xxxxxxxxxxxxx
{
"amount": "25000.00",
"currency": "TZS",
"merchant_id": "...",
"customer_phone": "+255 7XX XXX XXX"
}
→ 201 Created · link generated
Everything You Need to Integrate
Each guide below links to the full reference documentation.
REST API Overview
Base URL, request/response envelope, and general conventions.
API Key Authentication
Sandbox vs. live keys and how to sign requests.
Collections API
Push USSD, STK Push, or Selcom Pesa Push.
Payment Links API
Create, fetch, and expire payment links.
Invoices API
Create invoices and track payment status.
Webhooks
Event types, payloads, and signature verification.
Error Codes
Full reference of API error codes.
Sandbox Examples
Test credentials and canned sandbox responses.
cURL Examples
Copy-paste cURL requests for every endpoint.
JavaScript Example
Node.js integration walkthrough.
Python Example
Python integration walkthrough.
Built for However You Build
Infinity Africa's API works anywhere your business already lives.
Websites
Drop a payment link or invoice checkout into any website — no SDK required.
Mobile Apps
Call the REST API directly from iOS or Android apps to collect payments and manage invoices.
Ecommerce Platforms
Wire Infinity Africa into your storefront's checkout flow for mobile money and cards.
Web Apps
Integrate collections, payment links, and invoices into any internal or customer-facing web app.
Beyond Collection
A small set of account-level operations live outside the public API docs, gated behind merchant verification.
Withdrawal APIs
Withdrawal APIs are available to approved merchants after onboarding and verification. Reference documentation lives in the authenticated merchant/developer portal.
Start integrating today
Create a merchant account, then generate a sandbox key from the Merchant Portal to make your first API call in minutes.
