An API your team will actually enjoy.
REST APIs, idempotent endpoints, signed webhooks, and a sandbox you can hit in 60 seconds. ReliaPay is built developer-first.
POST /v1/charges
Charge a customer in any currency, on any rail.
One endpoint, one set of conventions. Switch between mobile money, card, or bank transfer by changing a single field.
- Idempotency keys on every write endpoint
- Signed webhooks with replay protection
- Test mode with realistic mock data
- OpenAPI 3.1 spec and Postman collection
// Charge a customer with M-Pesa
const charge = await reliapay.charges.create({
amount: 1245000, // KES 12,450.00 in minor units
currency: "KES",
payment_method: {
type: "mpesa",
mpesa: { phone: "+254712000045" },
},
customer: "cus_3F9k…",
description: "Order #88421",
}, { idempotencyKey: "ord_88421" });
charge.status; // => "succeeded"Integration guides for every common pattern.
From your first charge to high-volume reconciliation, our guides cover the path real teams take.
Quickstart
Quickstart: Accept your first payment
Charge a card or mobile money number in under 10 minutes.
Read guideReliability
Webhooks & idempotency
Build resilient integrations with signed events and retry semantics.
Read guideMobile money
Mobile money: STK push
Initiate a Lipa Na M-Pesa transaction and handle async confirmation.
Read guideCards
3-D Secure 2 for cards
Pass strong customer authentication without breaking conversion.
Read guideBilling
Subscriptions & dunning
Charge recurring fees with smart retries on cards and mobile money.
Read guidePayouts
Cross-border payouts
Send to bank accounts and wallets across 40+ countries.
Read guideNative libraries for the stack you already run.
Officially maintained, semantically versioned, with TypeScript and type stubs where supported.
Node.js
v2 · stable
Python
v2 · stable
PHP
v2 · stable
Go
v2 · stable
Java
v2 · stable
.NET
v2 · stable
Ruby
v2 · stable
Flutter
v2 · stable
Build against a real sandbox in 60 seconds.
No paperwork, no merchant account required. Sign up, grab a test key, and start sending requests.
Sandbox keys
test modepk_test_3F9k••••a2b1sk_test_••••••••-u sk_test_•••: \
-d amount=1000 currency=KES
Start accepting payments across East Africa today.
Activate your account in minutes. No setup fees, no monthly minimums. Sandbox access included.