DOCS Live

Integration flows

Every flow, step by step

Each flow is one job a partner does with KulPay: who does what and in what order, every call with a link to the API reference, full request and response examples, the states it goes through, when the money moves, the events you receive, the errors that matter and how to test it.

All calls go to https://gateway.kulpay.pavulla.com with your API key in Authorization: Bearer ….

Banks and agents

Money coming in at a counter or in an app: deposits, payment requests, invoices, transfers and the statements that confirm them.

The basics

What every integration needs: keys and scopes, idempotency, webhooks, test mode and errors.

Merchants

Accepting payments: mobile money, checkout, cards, refunds, links and getting paid.

Setting up to accept paymentsCreate your application, its keys and webhook, choose where the money goes, and connect your own M-Pesa, e-Mola or card account. Mobile money paymentCharge a customer's M-Pesa or e-Mola wallet; they approve on their phone and you are told the result. Hosted checkoutSend the customer to KulPay's payment page; they choose how to pay and come back to your site. Card paymentTake a card through the acquirer's own fields, handle the customer's verification step, and capture or release an authorisation. Refunds and reversalsGive money back for a paid order, in full or in part, or reverse a duplicated mobile money payment. Charging for a referenceTake M-Pesa, e-Mola or a card on your own page for one of your customers' references, and have the money reported as an incoming transfer to that reference. Payment links and QR codesTake a payment without building a page — a link or QR the customer opens, with a fixed or open amount. Payment webhooks for merchantsWhich payment events to subscribe to, what each means for your order, and how to never ship an unpaid order. Getting paidWhat you are owed per payment, the fees, the settlement batches and reports, and payouts to your approved account. Testing a merchant integrationA checklist of every outcome to test before going live, with the test inputs for each. Setting up in the KulPay appFor KulPay businesses — register your application, copy its key, add your webhook and connect your payment methods, from the KulPay app.

Billers

Presenting invoices, enrolling customers, the real-time contract and getting paid.

PSPs and wallets

Selling bills, payers' bills, PSP transactions, settlement and going live.


Machine-readable reference: OpenAPI 3.1 spec and the event catalogue.