System users

/payment-requests/v1/users is for integrations that pay their own end users — people who never sign up with Garna and never see our dashboard. You provision an account for each of them, verify their identity, store their payout details, move money onto their balance and pay it out. All of it through your partner token; the person never authenticates with us.

Such an account is a system user. It cannot be signed into, cannot reset a password and receives no notifications from us — every message to the person stays your responsibility. It belongs to your network (MCN), taken from the company behind your token, and it is addressed everywhere by the uid we return. Every OAuth client of that network reaches it — so if you run several clients, or several company accounts, they share one pool of system users. Anyone outside the network gets 404.

This is a different mechanism from the other two ways to pay:

System users Payouts and transfers Single and bulk requests
Who receives Your end user, provisioned by you An existing Garna account, by wallet number Your own company, to its payout template
Endpoints /payment-requests/v1/users /payments/v2 /payment-requests/v1
Identity verification Required before a payout, and you start it Already done by the account holder Your company's own
Where the money sits first On the balance of the system user Leaves your wallet straight to the recipient Leaves your wallet on payout

The order of the five steps below is not a suggestion: verification gates the payout details, and the details gate the payout.

Call order

Call What you get
POST /payment-requests/v1/users The uid every later call is addressed by
POST /payment-requests/v1/users/{uid}/kyc-start The link you send the person so they can verify their identity
GET /payment-requests/v1/users/{uid} Their kyc_status — poll it until verification is through
GET /payment-requests/v1/users/{uid}/payment-methods The methods that person may be paid with
POST /payment-requests/v1/users/{uid}/payment-methods/fields The fields that method wants from them
POST /payment-requests/v1/users/{uid}/templates A template_id stored on their own wallet
POST /payment-requests/v1/users/{uid}/fund Money on their balance, moved from your company wallet
GET /payment-requests/v1/users/{uid}/calculate The fee and the resulting payment before you commit to it
POST /payment-requests/v1/users/{uid}/payout The payout, created from that person's balance

The three payout-details calls repeat per payment method, and the last three per payout. Correcting a user (PUT /payment-requests/v1/users/{uid}) and the template listing, read and delete calls belong to no step: they are management, called when you need them.

The person appears in the flow exactly once — when they go through verification:

sequenceDiagram
    participant C as Your backend
    participant A as Garna API
    participant P as Your end user
    C->>A: POST /payment-requests/v1/users
    A-->>C: uid of the system user
    C->>A: POST /payment-requests/v1/users/{uid}/kyc-start
    A-->>C: verification link
    C->>P: you deliver the link yourself
    loop until kyc_status is verified
        C->>A: GET /payment-requests/v1/users/{uid}
        A-->>C: kyc_status
    end
    C->>A: GET /payment-requests/v1/users/{uid}/payment-methods
    A-->>C: methods available to that person
    C->>A: POST /payment-requests/v1/users/{uid}/payment-methods/fields
    A-->>C: fields the method wants from them
    C->>A: POST /payment-requests/v1/users/{uid}/templates
    A-->>C: template_id on their own wallet
    C->>A: POST /payment-requests/v1/users/{uid}/fund
    A-->>C: money on their balance
    C->>A: GET /payment-requests/v1/users/{uid}/calculate
    A-->>C: fee and the resulting payment
    C->>A: POST /payment-requests/v1/users/{uid}/payout
    A-->>C: created payout

1. Provision the user

curl -X POST "$BASE_URL/payment-requests/v1/users" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "email": "end-user@example.com",
    "phone": "+4915112345678",
    "first_name": "Ivan",
    "last_name": "Petrov",
    "country_id": 82,
    "birthday": "1990-05-17",
    "lang": "en"
  }'

Send the person's real details, as at registration — minus a password, which such an account never has. The network is not passed: it comes from your token, so a system user of one network is invisible to another — its uid answers 404 there, and its email is refused as taken.

Names take Latin letters only — apostrophe, hyphen and space are allowed, digits, Cyrillic and diacritics are not, whatever lang you send. Transliterate before provisioning.

birthday must be the real date (Y-m-d, at least 18 years ago). Verification compares it with what the provider reads off the document, so a placeholder date fails the check and leaves the person unable to pass verification — and therefore unable to be paid out. The 18 is a hard requirement of this group, not of our platform: a minor who passes the identity step is then sent to an additional-document step (a parent's consent) that only the dashboard can complete, and a system user has no dashboard.

Creating is idempotent by email within your network, which is what makes a retry after a lost response safe:

Situation Answer
New address 201 with the user
Address already provisioned in your network 200 with the same user, unchanged
Address of any other account, including a system user of another network 409 with code 13000

The response carries the uid and every wallet of the user. Keep the uid: every call below takes it in the path.

Correcting the details

A typo in the name, the date of birth or the country is not fatal, but it has to be fixed before the identity step is approved — verification compares those three with the document literally, and a mismatch comes back rejected:

curl -X PUT "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "first_name": "Johann" }'

Send only the fields you are changing — the rest stay untouched. The answer is the same user object as GET, and the next verdict from the provider is compared against the corrected data, so the person can simply finish the session you already opened.

Two things this call does not do. email is not editable: provisioning is keyed on it, and a different address means a different person, so provision a new user instead. And once identity_status is approved the details are fixed — the call is refused with 409 and code 15002, because they are the data the verification was approved against.

2. Verify their identity

curl -X POST "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ/kyc-start" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "redirect_url": "https://partner.example.com/kyc-done" }'

What comes back is the page to send the person to:

{
  "data": {
    "provider": "didit",
    "verification": {
      "type": "verification_url",
      "value": "https://verify.example.com/session/8f14e45fceea167a"
    }
  }
}

The provider hosts that page, whichever provider your network is on, so there is no SDK to embed on your side. type is always verification_url today; it stays in the answer because a future provider may need a different treatment.

The link expires — 30 minutes with one provider, sooner or later with another. Hand it over as soon as you get it, and call kyc-start again for a fresh one rather than storing it.

redirect_url is optional and brings the person back to you when they are done — the same address whether they passed or were refused, so read the outcome from kyc below rather than from the landing itself. It must be https, anything else is 422, and the host has to be publicly resolvable: localhost and reserved domains are refused by the provider, which reaches you as 502 with code 14001. One caveat with Didit: the address belongs to the session being created, so once a session exists for this user a new value is ignored.

We send no webhooks. Poll GET /payment-requests/v1/users/{uid} and read kyc:

Field What it is
is_verified The only flag that gates a payout — true once every step the network requires is approved
identity_status Where the identity step stopped, on a scale of seven values
document_status The document step, on a shorter scale of four
address_status The address step, same scale as identity; not required by every network

Calling kyc-start again is safe and never changes a status. One caveat: the provider reuses an existing session only after its first webhook about this user has reached us, so a retry before that opens a new session. Frequent retries in that window are worth avoiding.

If verification is not available for this system user — the setting is read per user, then per network — the call is refused with 403 and code 14000. If the provider itself does not answer, it is 502 with code 14001 — reported on our side, safe to retry.

A third refusal is about configuration rather than about this person: 403 with code 14002 means your network requires a step that cannot be completed through this API — an address check with a provider that does not support one, or an additional document, which is uploaded in the dashboard only. We do not open a session in that case, because its result would not make anyone verified. Ask us to review the network's verification settings; until then no system user of yours can be paid out.

3. Collect payout details

Same two-step shape as Methods and templates for your own company, with the user in the path instead:

curl "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ/payment-methods?region=cyprus&currency=USD" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"

region and currency select your company wallet and, behind it, the wallet of the system user — take the pair from wallets of the provisioning response. Provisioning gives a system user internal wallets (cyprus, garna-cy); a regional one can only appear later and arrives inactive, and only active wallets resolve — so in practice a regional pair does not work for a system user.

Two rejections come from that resolution, in this order — the company wallet is looked up first, so a pair your company has no wallet for never reaches the second check:

Code HTTP What is missing
11000 403 Your company has no active wallet for this region and currency
15000 422 The system user has no active wallet behind that company wallet

The list of methods is narrower than your company's own: it also depends on the person's country, network and age — methods with an age restriction are hidden for anyone under 18, by the birthday you sent at provisioning. Verification does not widen the list; the order still matters, because creating a template needs a verified person.

Then ask the method for its fields and store them as a payout template, exactly as you would for your company:

curl -X POST "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ/templates" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "region": "cyprus",
    "currency": "USD",
    "payment_method_id": 12,
    "title": "Ivan Petrov — main account",
    "identity": {
      "iban": "DE89370400440532013000",
      "bic": "COBADEFFXXX"
    }
  }'

Creating a template requires is_verified — otherwise 403 with code 15001. Listing, reading and deleting them do not. There is no update: to change the details, delete the template and create a new one.

Creating is idempotent by identity, like provisioning is by email: the same details sent twice return the same template with 200 instead of 201, so a retry after a lost response is safe. Only title is overwritten by a repeat.

To read back what a person has, ask for the listing without payment_method_id — you get every template of that user, newest first, paginated:

curl "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ/templates?region=cyprus&currency=USD" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"

Pass payment_method_id when you are filling a payout form for one method and want the list narrowed.

4. Fund the user

curl -X POST "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ/fund" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "request_id": "partner-fund-2026-08-03-0001",
    "region": "cyprus",
    "currency": "USD",
    "amount": "100.00",
    "description": "Order 42"
  }'

This is the same transfer as POST /payments/v2/payout, with the recipient addressed by uid instead of a wallet number, and it carries no fee: the amount leaves your wallet and arrives in full. request_id is globally unique, as on that endpoint, and the answer is 201 whether the money moved or not — read status, and on 3 read err_msg. Poll it later with GET /payments/v2/status.

Funding does not require verification. Paying out does, so money can legitimately sit on an unverified user — see the section below before you build on that.

5. Pay out

curl -X POST "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ/payout" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "request_id": "partner-user-payout-2026-08-03-0001",
    "template_id": 8851,
    "amount": "50.00",
    "payment_purpose": "Order 42"
  }'

The body and the response are the same as on POST /payment-requests/v1/single — deliberately, so you do not parse two shapes. The subject is the difference: the template and the balance belong to the user in the path. No region or currency here either; the wallet follows from the template.

What can refuse it:

Answer Reason
403 code 15001 The person is not verified
403 code 12011 The template's stored details no longer pass the method's validation
422 Ordinary validation — a reused request_id, a template of another user, an amount outside the method's limits, or an amount above the funds
400 code 8000 The funds were spent between validation and creation
400 code 4000 Unexpected error on our side — reported internally, safe to retry

Amount limits work as on a single request: the maximum is derived from the method and from the available funds, so a payout from an empty balance is a validation error, not code 8000. Follow the result with GET /payment-requests/v1/status by your own request_id.

Know the numbers before you create it

The commission is charged on top of amount, so the whole balance is never payable in one request: with a 10% method fee, 100.00 of funds allow 90.91. Ask for the numbers instead of guessing them:

curl "$BASE_URL/payment-requests/v1/users/01K1ABCDEFGHJKMNPQRSTVWXYZ/calculate?template_id=8851&amount=50.00" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Accept: application/json"

It answers with the same shape as GET /payment-requests/v1/calculate for your company: withdraw is what leaves the funds (total_amount includes the fee), exchange appears when the payout currency differs from the wallet's, and payment is what the person receives. The limits it validates against are the payout's own, so an amount this call accepts is an amount the payout accepts — and a 422 here carries the maximum in the message, which is the cheapest way to learn the ceiling.

Two notes on reading amounts anywhere in this group. They are decimal strings, and their scale is not fixed — "90" and "90.00" are the same value, so parse them as decimals rather than comparing text. And the payout response carries the commission actually charged — withdraw.fee is the same value the calculation returned, unless the method's fee settings changed in between — but not what the person receives: payment appears only once the withdrawal succeeds, which is why the calculation above exists.

A created payout is not yet a sent payout

The withdrawal starts in new and, depending on the network's settings and the payment provider, either goes on automatically or waits for our moderation. Neither is visible in the response — poll GET /payment-requests/v1/status and watch data.payment_request.status move to pending and then to success. If your product promises the person a payout time, agree it with us for your network rather than deriving it from the API.

When a payout is rejected, the money stays with the user

A payout that our moderation or the provider refuses is returned automatically — onto the balance of the same system user, not to your company wallet. Nothing is lost, and nothing has to be reconciled by hand: poll the payout with GET /payment-requests/v1/status, and when its status becomes reject or error, the amount is back on that user's balance. Read wallets[].real_balance of the user to confirm it.

What follows from that, and is worth designing for:

Limits

Every endpoint in this group that changes something is rate-limited at 60 requests per minute, counted per OAuth client and per IP address. Reading is not limited. Over the limit the answer is 429 with Retry-After.

What matters more than the number is that counters are shared, so two endpoints of one counter split those 60 between them:

Counter Endpoints on it
provisioning POST /payment-requests/v1/users and PUT /payment-requests/v1/users/{uid}
verification POST /payment-requests/v1/users/{uid}/kyc-start
templates POST and DELETE on templates — of a system user and of your company
money fund and payout of a system user and your company's single and bulk

So a job paying out system users competes with a job sending POST /payment-requests/v1/single: together they get 60 per minute, not 60 each.

There is a second 429, unrelated to the rate limit: money operations of one company are serialized, and a request that never gets its turn is answered with 429, Retry-After and code 16000 in message. Nothing was created — repeat it after the delay. Tell the two apart by the body: a rate-limit 429 says Too Many Attempts., this one carries the code.

In practice it takes a batch to cause this: POST /payment-requests/v1/bulk holds that lock while it walks through its entries, and a single payout of ours takes a fraction of a second. Sending your payouts sequentially per company, and not in parallel with a batch of the same company, avoids it altogether.

What this version does not do

Where to go next