Customers and verification
A customer is the person or business that owns routes and transfers. Every customer is verified before it can move money.
Every route and every transfer belongs to a customer. You create the customer once, the customer completes verification, and Locals enables the capabilities that unlock routes and payouts.
Customer types
| Type | Who | Verification | Status |
|---|---|---|---|
business | A company you serve | Hosted KYB link: you send the customer to a Locals page | Available |
individual | A person you serve | The verification data you already hold, sent in kyc | Available with a compliance agreement |
individual | A person you serve | Hosted KYC link | Planned |
Individuals. The hosted verification link for individuals is designed but not built. Today an individual is created from the verification you already did for that person, sent in kyc: only for partners whose compliance agreement with Locals allows it. Other partners get 400 on kyc. If you need to onboard individuals, talk to us before you build the flow.
One customer per externalId
externalId is your own id for the customer, for example the account id in your system. It is unique per partner: creating a second customer with the same externalId returns 409 customer_exists. Store the Locals id (cus_…) next to your own record and reuse it.
Find a customer
GET/v1/customers lists your customers, newest first, and externalId finds one by your own id: GET /v1/customers?externalId=acct_1042. Filter with status (one value) and type. The list returns customers as Locals stored them; GET/v1/customers/{id} reads the verification live.
Create a business customer
Call POST/v1/customers with type: business, a contact email and your externalId. redirect is optional: it is where the hosted page sends the customer when they finish.
curl -X POST https://api.locals.money/v1/customers \
-H "Authorization: Bearer $LOCALS_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "business",
"email": "finance@harbour.example",
"externalId": "acct_1042",
"redirect": { "successUrl": "https://app.example/kyb/done" }
}'const res = await fetch('https://api.locals.money/v1/customers', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.LOCALS_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
type: 'business',
email: 'finance@harbour.example',
externalId: 'acct_1042',
redirect: { successUrl: 'https://app.example/kyb/done' },
}),
});
const customer = await res.json();import os, requests
res = requests.post(
"https://api.locals.money/v1/customers",
headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
json={
"type": "business",
"email": "finance@harbour.example",
"externalId": "acct_1042",
"redirect": {"successUrl": "https://app.example/kyb/done"},
},
)
customer = res.json()The response is 201 with the customer in pending and a hosted verification link. verification.status is action_required: the link waits for the customer.
{
"id": "cus_8Hq2Lm",
"externalId": "acct_1042",
"type": "business",
"status": "pending",
"blocked": null,
"verification": { "status": "action_required", "reasons": [], "link": "https://verify.locals.money/s/9f2c…", "levels": [] },
"capabilities": [
{ "operation": "payout", "currency": null, "status": "action_required", "requirements": [] },
{ "operation": "route", "currency": "AUD", "status": "action_required", "requirements": [] },
{ "operation": "route", "currency": "AED", "status": "action_required", "requirements": [] }
],
"entitlements": [
{ "name": "virtual_account", "status": "pending" },
{ "name": "base_payout", "status": "pending" }
],
"version": 1,
"createdAt": "2026-10-21T09:12:44.120Z",
"updatedAt": "2026-10-21T09:12:44.120Z"
}Create an individual customer
With a compliance agreement that allows it, send the verification you already did for the person in kyc: name, date of birth, nationality, address, identity document and selfie. Images are JPEG or PNG data URLs; the body can be up to 15 MB.
curl -X POST https://api.locals.money/v1/customers \
-H "Authorization: Bearer $LOCALS_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"type": "individual",
"email": "maria@example.com",
"externalId": "user_5521",
"kyc": {
"firstName": "Maria",
"lastName": "Santos",
"dateOfBirth": "1990-04-12",
"nationality": "PH",
"phone": "+61412345678",
"address": { "line1": "12 Harbour St", "city": "Sydney", "state": "New South Wales", "postalCode": "2000", "country": "AU" },
"idDocument": { "type": "PASSPORT", "country": "PH", "frontImage": "data:image/jpeg;base64,/9j/4AAQ…" },
"selfieImage": "data:image/jpeg;base64,/9j/4AAQ…"
}
}'idDocument.typeisPASSPORT,DRIVERS_LICENSE,NATIONAL_IDorRESIDENCE_PERMIT; sendbackImagetoo when the document has a back.- Countries are ISO 3166-1 alpha-2,
phoneis E.164 anddateOfBirthisYYYY-MM-DD. - The response carries the verification state as it comes back, and
verification.linkisnull. - An individual without
kycis400, and so iskycon a business.
Change a customer
PATCH/v1/customers/{id} changes only what you send: email, and for individuals, if your account sends verification data, any of the fields of kyc, in the same formats. address and idDocument go whole. Use it to correct data or to send a new document.
curl -X PATCH https://api.locals.money/v1/customers/cus_8Hq2Lm \
-H "Authorization: Bearer $LOCALS_KEY" \
-H "Content-Type: application/json" \
-d '{
"kyc": {
"idDocument": { "type": "PASSPORT", "country": "PH", "frontImage": "data:image/jpeg;base64,/9j/4AAQ…" }
}
}'- New verification data can start a new review: the response carries the verification read right after, and
customer.updatedarrives when it changes. - A change of
emailraisesversionbut sends no event: the response carries it. - A blocked customer cannot be changed (
403 customer_blocked), nor one still being created (422 customer_not_ready). externalIdandtypedo not change.
Verification flow
- Create the customer. POST/v1/customers returns
verification.link. - Send the customer to the link. They complete the KYB form and upload documents on the hosted page. Open it in the same browser session; do not email it for later, it is short-lived.
- The customer comes back. When they finish, the page redirects to
redirect.successUrl, or toredirect.rejectUrlif the verification is rejected. A redirect tosuccessUrlmeans the submission is complete, not that it is approved. - Wait for approval. Locals sends
customer.updatedwhen the verification, a capability or a block changes. You can also read GET/v1/customers/{id}: verification is read live on every call. Wait until the capability you need isenabled. - Move money. With the
routecapability of a currencyenabledyou can open routes in that currency; with thepayoutcapabilityenabledyou can create payouts.
Register an endpoint for customer.updated and you do not need to poll. Business reviews can take a while; keep a slow check on pending customers as a safety net. See Events.
The hosted link lasts about 30 minutes by default (subject to change). There is no endpoint to issue a new link for an existing customer today.
Verification status
verification.status says where the customer's verification stands:
| Status | Meaning | What you can do |
|---|---|---|
processing | Being reviewed. Nobody has to do anything | Wait |
action_required | The customer has to do something: complete the hosted link, or send a document again | Send the customer to verification.link; for an individual, send the new data with PATCH/v1/customers/{id} |
approved | Verified | Check the capability you need |
rejected | Not verified | Nothing |
verification.reasons says why the verification waits on the customer or was rejected, as lower case codes, for example bad_proof_of_identity. It is [] otherwise. The list of codes is open: show the ones you know and handle any other as a generic reason.
Capabilities
capabilities says what the customer can do: one entry per operation Locals offers, the ones the customer cannot do included. Today that is one payout and one route per source currency, AUD and AED.
| Field | Description |
|---|---|
operation | payout: quoted payouts to bank accounts. route: routes that collect in currency and settle in stablecoins |
currency | The source currency of the route, for example AUD. null for payout |
status | enabled, processing, action_required or rejected |
requirements | What is missing or was refused, as { code, status }. Always [] when the capability is enabled |
| Status | Meaning | What you can do |
|---|---|---|
enabled | The customer can do it | Open routes in that currency, or create payouts |
processing | Being reviewed or set up. Nobody has to do anything | Wait for customer.updated |
action_required | Something is missing or was refused: see requirements | Ask the customer for what is listed. With nothing listed, the customer finishes verification first if verification.status is action_required; otherwise Locals' support has to act: contact Locals |
rejected | The customer cannot do it | Nothing |
Each requirement has a code: name, date_of_birth, nationality, email, phone, address, id_document, selfie, liveness, proof_of_address, source_of_wealth, questionnaire, tax_id, occupation, business_documents, beneficial_owners or other. Its status is missing (not sent yet) or rejected (sent and refused: send it again). For individuals, PATCH/v1/customers/{id} sends new data or a new document.
POST/v1/routes needs the route capability of its source currency enabled, and POST/v1/transfers the payout capability. Otherwise they return 422 customer_not_ready, and the message names the capability and its status: Customer cus_8Hq2Lm is not enabled for AED routes (action_required), or … is not enabled for payouts (processing). not offered in place of the status means Locals does not offer that operation.
A block takes over: a blocked customer shows status: "blocked" and moves no money, whatever its capabilities say. See Blocked customers.
{
"id": "cus_4Tn7Qp",
"type": "individual",
"status": "pending",
"verification": { "status": "processing", "reasons": [], "link": null, "levels": [ { "level": "individual_base", "status": "in_progress" } ] },
"capabilities": [
{ "operation": "payout", "currency": null, "status": "processing", "requirements": [] },
{ "operation": "route", "currency": "AUD", "status": "processing", "requirements": [] },
{ "operation": "route", "currency": "AED", "status": "action_required", "requirements": [] }
]
}{
"id": "cus_4Tn7Qp",
"type": "individual",
"status": "pending",
"verification": { "status": "rejected", "reasons": ["bad_proof_of_identity"], "link": null, "levels": [ { "level": "individual_base", "status": "rejected" } ] },
"capabilities": [
{ "operation": "payout", "currency": null, "status": "rejected", "requirements": [] },
{ "operation": "route", "currency": "AUD", "status": "rejected", "requirements": [] },
{ "operation": "route", "currency": "AED", "status": "rejected", "requirements": [] }
]
}A customer stored before these fields existed shows verification.status: null, reasons: [] and capabilities: [] until Locals reads it again, shortly after they were released.
Version
version goes up with every change of the customer. Events can arrive out of order: keep the version you hold for each customer, and a customer.updated whose data.version is lower is older than what you have: ignore it.
Verification levels
Being retired. verification.levels still comes in every response while partners move to verification.status and capabilities. Build new code on those.
verification.levels lists each level the customer goes through and its status. There is one base level per type:
| Level | Customer type | Grants |
|---|---|---|
business_base | business | virtual_account, base_payout |
individual_base | individual | virtual_account, base_payout |
A level moves from in_progress to approved or rejected, which are final. It can also go to requires_action when the reviewer needs something corrected; once the customer fixes it, it returns to in_progress. See Statuses.
Entitlements
Being retired. entitlements still comes in every response while partners move to capabilities, which decide whether a route or a payout can go ahead. Build new code on those.
Entitlements say what an approved customer was granted. Locals requests both on creation and grants them when the base level is approved.
| Entitlement | Unlocks | Now read |
|---|---|---|
virtual_account | Opening routes (collect local currency, settle in stablecoins) | The route capabilities |
base_payout | Quoted payouts to bank accounts | The payout capability |
Customer status
| Status | Meaning | What you can do |
|---|---|---|
pending | Verification is not finished | Wait; send the customer to verification.link if they have not finished |
active | Verified | Open routes and create payouts, per capability |
blocked | Blocked by Locals or by you | Nothing new: no payouts or routes. See Blocked customers |
Before you open a route or create a payout, check the capability it needs: status alone does not say it.
{
"id": "cus_8Hq2Lm",
"externalId": "acct_1042",
"type": "business",
"status": "active",
"blocked": null,
"verification": { "status": "approved", "reasons": [], "link": "https://verify.locals.money/s/9f2c…", "levels": [ { "level": "business_base", "status": "approved" } ] },
"capabilities": [
{ "operation": "payout", "currency": null, "status": "enabled", "requirements": [] },
{ "operation": "route", "currency": "AUD", "status": "enabled", "requirements": [] },
{ "operation": "route", "currency": "AED", "status": "action_required", "requirements": [] }
],
"entitlements": [
{ "name": "virtual_account", "status": "approved" },
{ "name": "base_payout", "status": "approved" }
],
"version": 4,
"createdAt": "2026-10-21T09:12:44.120Z",
"updatedAt": "2026-10-21T09:44:52.318Z"
}Here AED routes are action_required with nothing listed: Locals' support has to act, so contact Locals if you need them. verification.link stays the one issued on creation. If the banking partner does not answer, GET/v1/customers/{id} returns the last state Locals stored.
Blocked customers
Locals can block a customer, and so can you, from the backoffice. A blocked customer:
- shows
status: "blocked"whatever its verification says, andblockedwith who blocked it (localsortenant, that is you), why and when; - gets no payouts and no new routes: POST/v1/transfers and POST/v1/routes return
403 customer_blocked; - has its routes cut: they show
blocked: true, and their deposit instructions must not be shown. See Cut routes.
{
"id": "cus_8Hq2Lm",
"status": "blocked",
"blocked": { "by": "locals", "reason": "Under review", "at": "2026-10-22T08:30:00.000Z" }
}Locals sends customer.updated, and customer.blocked and customer.unblocked while they are being retired. You unblock the customers you blocked; a block by Locals is lifted only by Locals. GET/v1/customers with status=blocked lists them; active and pending leave them out.
Limits
Locals sets limits in USD on what each customer moves, per operation, per 24 hours and per 30 days, for deposits and for payouts, plus a cap on your whole volume. GET/v1/customers/{id}/limits shows each limit, what is used and what is left, and available: the most one operation can move now. asOf says when the volume was measured: the answer is a picture of that moment, and a payout is checked again when it is made, never against it. See Limits and blocks.
Sandbox behaviour
In sandbox, business verifications go to manual review, so a sandbox KYB stays pending until it is reviewed. Plan your tests around that, or use a customer that is already approved. See Test in sandbox.