DOCS Live

Banks and agents

Paying a payment request (OR) at the counter

A payer brings an OR- reference from a KulPay payment request and pays it in cash or from their bank account.

A KulPay customer asks for money with a payment request. Its reference, OR- and seven characters (for example OR-8DHX82N), is the same on the link, the QR code, at a bank counter and in another provider's app. A payer can bring it to you and pay it in cash.

The calls are the same as a cash deposit to a KulPay account; only the lookup's answer differs: it says what the request asks for. The money is credited to the person who asked once your statement confirms it.

Before you start

The same as for a cash deposit: a partner key with transactions:write, transactions:read and reconciliation:write, the cash_deposit lookup in your capability matrix, a statement profile covering the receiving account, and an Idempotency-Key on every call that moves money.

The flow at a glance

#WhoWhat happens
1PayerBrings the OR- reference and says how much they pay.
2Your systemLooks the reference up and shows the cashier who asked, why, how much is still due and until when.
3Your systemRegisters the deposit intent for the amount the payer brings.
4CashierTakes the cash.
5Your systemConfirms the deposit with the statement entry, then sends the statement.
6KulPayMatches the statement line and credits the person who asked; they are told in the app.

1. Look up the reference

Your system.

POST /v1/name-lookups · API reference

Send the reference as the payer gives it: with or without the hyphen, in capitals or not. Its last character is a check character, so a mistyped reference is refused here rather than paying someone else.

The answer adds details: what the request asks for, to show the payer. It is information only: a request may be paid in parts, so amount_due is not an exact amount to take. The constraints are what the deposit must respect: max_amount is the most one deposit to a payment request may be, which can be lower than for an account, so take no more cash than that.

Request

{
  "method": "cash_deposit",
  "reference": "OR-8DHX82N"
}

Response

{
  "lookup_id": "3L1aQ8xZt5bKfW2nYcVm7RpHsJd",
  "status": "found",
  "name": "Maria N.",
  "method": "cash_deposit",
  "reference": "OR-8DHX82N",
  "constraints": {
    "currency": "MZN",
    "min_amount": "10.00",
    "max_amount": "50000.00",
    "expires_at": "2026-10-22T10:15:00Z"
  },
  "details": {
    "kind": "money_request",
    "amount_due": "1500.00",
    "currency": "MZN",
    "description": "Propinas de novembro",
    "due_date": "2026-11-05",
    "reference": "OR-8DHX82N"
  },
  "expires_at": "2026-10-22T10:15:00Z"
}

name is the person who asked, as their first name and last initial (or a business's trade name). A request that was closed, or that does not take deposits at a counter, answers not_found. expires_at is at most 15 minutes, earlier when the request's due date comes first.

2. Register the deposit intent

Your system, before the cashier takes the cash.

POST /v1/cash-deposits/intents · API reference

Exactly as for an account deposit: the lookup_id, the amount the payer brings and the currency. A request takes several deposits until its owner closes it, each with its own lookup.

Request

{
  "lookup_id": "3L1aQ8xZt5bKfW2nYcVm7RpHsJd",
  "amount": "500.00",
  "currency": "MZN",
  "partner_reference": "AG001-000982",
  "depositor_metadata": {
    "name": "João Sitoe"
  }
}

Response

{
  "id": "3KCZf1Z3amItUf8AcdAyGBLH0Pu",
  "lookup_id": "3L1aQ8xZt5bKfW2nYcVm7RpHsJd",
  "reference": "OR-8DHX82N",
  "amount_minor": 50000,
  "currency": "MZN",
  "partner_reference": "AG001-000982",
  "mode": "live",
  "status": "initiated",
  "expires_at": "2026-10-23T10:05:00Z",
  "created_at": "2026-10-22T10:05:00Z",
  "updated_at": "2026-10-22T10:05:00Z"
}

3. Confirm the deposit

Your system, once the cashier has the cash.

POST /v1/cash-deposits/intents/{id}/confirm · API reference

The receiving account, your statement entry and its value date, as for any deposit. The deposit is reported, waiting for the statement line.

Request

{
  "account": "MZ59000800000000123456789",
  "entry_id": "AG001-20261022-0000458",
  "value_date": "2026-10-22"
}

Response

{
  "intent": {
    "id": "3KCZf1Z3amItUf8AcdAyGBLH0Pu",
    "status": "reported",
    "deposit_id": "3KVioCC5V4yauYhsd56OlrZgzWl"
  },
  "deposit": {
    "id": "3KVioCC5V4yauYhsd56OlrZgzWl",
    "account": "MZ59000800000000123456789",
    "entry_id": "AG001-20261022-0000458",
    "amount_minor": 50000,
    "currency": "MZN",
    "status": "reported",
    "deadline_at": "2026-10-23T10:06:00Z"
  }
}

4. Send the statement

Your system.

POST /v1/statements · API reference

When the statement line matches, the deposit is confirmed and the money reaches the person who asked (or the cause's held balance, for a cause that releases its money at the close). They are told in the app.

States

StateWhat it means
initiated

Registered; not confirmed yet.

reported

Confirmed by you; waiting for the statement line.

confirmed

The line matched; the person who asked is credited.

exception

No line in time, or another amount on it. Nothing is credited.

When the money moves

As for any deposit: the person who asked is credited when your statement line matches. A request can receive any number of deposits until it is closed; each one is a lookup, an intent and a confirmation.

Events

EventWhat it tells you
cash_in.initiated

An intent was registered.

cash_in.initiation_confirmed

You confirmed it; it waits for the statement line.

cash_in.confirmed

The line matched and the money was credited.

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
422 deposit_refused

The lookup expired or the amount is outside the limits.

Look the reference up again.

409 lookup_used

The lookup already started a deposit for another amount.

A new lookup for each deposit.

422 route_not_enabled

Cash deposits are not enabled for your key's mode.

Ask KulPay to enable them.

Testing it

Payment requests are real KulPay customers' requests, so a test key does not read them: test the calls with the test references of the account deposit, and an OR- reference in the environment KulPay gives you for your integration. To see the refusal of a mistyped reference, change one character of a real one.


All flows · API reference · Error catalogue