Prerequisites
You need a Kotani Pay integrator account. Sandbox accounts are self-service — create one using the Create Integrator endpoint. Production accounts must be provisioned by the Kotani Pay team.1. Get Your API Key
The fastest way is from the dashboard — no code required.- Log in to integrator.kotanipay.com
- Navigate to API Keys in the left sidebar
- Click Generate New Key
- Copy and store the key securely — it won’t be shown again
If you need a key with a signing secret (for webhook payload verification), use Generate Secure Key instead. This returns both a
key and a secret. See API Keys for details.2. Make Your First Call
Include your API key in theAuthorization: Bearer header:
3. Pick Your Flow
Collect payments
Accept payments via mobile money, bank checkout, or card.
Disburse funds
Send money to a customer’s mobile money wallet or bank account.
Buy crypto (Onramp)
Accept fiat via mobile money or bank and deliver crypto to a wallet.
Sell crypto (Offramp)
Accept crypto and disburse fiat to a mobile money wallet or bank account.
Payment links
Generate a hosted checkout page — no frontend required. Share the URL and start collecting.
Bulk payments
Disburse to multiple recipients at once — ideal for payroll, commissions, and refunds.
4. Fund Your Payout Balance
Only needed if you’re sending money out — payouts, offramp, or bulk payments.
6. Set Up Webhooks
Every transaction request accepts acallbackUrl — Kotani Pay posts the result to that URL when the transaction settles.
To receive signed callbacks, configure a webhook secret from the dashboard:
- Log in → Settings
- Copy the signing secret and store it as an environment variable
X-Kotani-Signature, X-Kotani-Event, and X-Kotani-Integrator headers. See Webhooks for payload structures and signature verification.
7. Go Live
- Contact the Kotani Pay team to request a production account
- Once provisioned, log in to integrator.kotanipay.com and switch to Production using the environment selector
- Generate a production API key from API Keys in the sidebar
- Switch your base URL to
https://api.kotanipay.io