DOCS Live

Billers

Getting paid as a biller

Know each payment as it happens, receive remittances with their reports, and reconcile your customers' accounts.

Every payment of your bills, on any channel, is known to you at once (a webhook, and your own notification format when you set one), and its money is remitted to you per your agreement, with a report of every payment it covers.

Before you start

A key with invoices:read, and a webhook endpoint for bill_invoice.* (and your notification URL, if you want payments in your own format).

The flow at a glance

#WhoWhat happens
1PayerPays an invoice or buys a product on any channel.
2KulPayTells you at once (webhook, and your own notification when set).
3KulPayGroups the payments into a remittance and pays it to you.
4Your systemDownloads the remittance report and reconciles your customers' accounts.

1. Hear of each payment

KulPay, then your system.

GET /v1/biller/invoices/{number}/events · API reference

bill_invoice.payment_received carries the amount, the fee, the net, the channel and when it was paid. An invoice's timeline (GET /v1/biller/invoices/{number}/events) lists every event of it, to reconcile one invoice.

2. Follow the remittances

Your team.

GET /v1/biller/remittances · API reference

What KulPay remitted, or will remit: the period, the number of payments, gross, fee and net, and its status.

3. Download the remittance report

Your team, to reconcile.

GET /v1/biller/remittances/{id}/report.csv · API reference

Every payment the remittance covers, as CSV, to apply to your customers' accounts.

Events

EventWhat it tells you
bill_invoice.payment_received

A payment, with amount, fee, net and channel.

bill_invoice.paid

An invoice is paid in full.

bill_invoice.remitted

An invoice's money was remitted to you.

Errors that matter here

Every error is application/problem+json with a stable code; branch on the code, not the message. The full list is in the error catalogue.

ErrorWhenWhat to do
403 not_a_biller

The key's organisation is not a biller.

Use your biller key.

Testing it

Pay a test invoice from a test channel and check your webhook and your notification receive it; then read the test remittance and its report.


All flows · API reference · Error catalogue