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.

Collect mobile money · Node.js
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. 1

    Create an account

    Sign up and open the API keys page in your dashboard.

  2. 2

    Get a test key

    Create a key starting with sk_test_. Sandbox payments behave like real ones — no money moves.

  3. 3

    Make your first call

    Start a mobile money payment or a hosted checkout, and handle the webhook.

  4. 4

    Go live

    Once your business is approved, switch to a live key. Your code stays the same.

Test 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.