Developer Documentation

Payments for Africa, One SDK

Integrate mobile money, card payments, and bank transfers with a single API. Built for developers, with African context.

import { createNilePay } from '@nilepay/sdk'const nile = createNilePay({  merchantId: 'your-merchant-id',  apiKey: 'your-api-key',})const payment = await nile.collectPayment({  amount: 5000,  currency: 'UGX',  method: 'mobile_money',  provider: 'mtn_ug',  phone: '256700000000',})

Quick Integration

Start collecting payments in minutes with the Nile Pay SDK.

African Payment Methods

Mobile money, bank transfers, and card payments in one integration.

Multi-Gateway Routing

Route transactions through multiple providers with automatic failover.

Secure by Default

Signed webhooks, encrypted credentials, and safe transaction handling.