Developers
Payments, built into your product
A straightforward REST API with test keys from day one, webhooks for every outcome and documentation with examples in cURL, JavaScript and Python.
const res = await fetch("https://api.jkapay.com/v1/payments/initialize", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.JKAPAY_SECRET_KEY}`,
"X-JKAPay-Merchant-Id": process.env.JKAPAY_MERCHANT_ID,
"Content-Type": "application/json",
},
body: JSON.stringify({
amount: "25.00",
customer: { msisdn: "0244000000", network: "MTN" },
description: "Order #12345",
merchantRef: "ORD-12345",
idempotencyKey: "ORD-12345",
}),
});
const { transaction } = await res.json();
// → transaction.status === "PROCESSING"Quickstart
From sign-up to first payment
- 1
Create an account
Sign up and open the API keys page in your dashboard.
- 2
Get a test key
Create a key starting with sk_test_. Sandbox payments behave like real ones — no money moves.
- 3
Make your first call
Start a mobile money payment or a hosted checkout, and handle the webhook.
- 4
Go live
Once your business is approved, switch to a live key. Your code stays the same.
What you can build
APIs for every part of the payment
Each endpoint is documented with request fields, sample responses and the errors to expect.
Mobile money payments
Send a payment prompt and track it through to success or failure.
Learn moreHosted checkout
Create a checkout link for card and mobile money, then confirm the result.
Learn moreWebhooks
Get the final state of every payment pushed to your server, signed so you can verify it.
Learn moreAccount verification
Look up the registered name behind a mobile money number before you transact.
Learn moreSandbox
Test numbers that succeed, fail or stay pending, so you can test every path.
Learn moreErrors
Consistent error codes and messages, so your code knows what to do next.
Learn moreTest and live keys
Keep sandbox and production apart. Revoke a key the moment it's exposed.
Safe retries
Send an idempotency key and repeating a request returns the original payment.
Lock it down
Restrict API access to your own server IP addresses from the dashboard.
Ready to start accepting payments?
Create your account, build against the sandbox right away, and go live once your business is verified.