Routes (virtual accounts)
A route is a virtual account: local bank details that belong to one customer and settle every deposit to a stablecoin address.
A route gives one customer their own local bank details. The customer pays into them with an ordinary bank transfer, and Locals settles each deposit in the stablecoin and on the chain you chose when you opened the route, to the address you gave.
Each deposit becomes a transfer with kind: route, so you track deposits with the same endpoints and status model as payouts.
Before you start
- The customer's
routecapability for the source currency isenabled. See Capabilities. - You have an EVM address that will receive the stablecoin, on
arbitrum,avalanche,base,ethereum,optimismorpolygon. - The source currency is live. Today that is
AUD;AEDexists in the platform but is not live and needs its ownroutecapability. See Coverage.
Open a route
Call POST/v1/routes with the customer, the currency they pay in and where the stablecoin goes: destination.currency is USDC or USDT, destination.chain one of arbitrum, avalanche, base, ethereum, optimism or polygon. Only EVM chains: solana, tron and any other are 400.
curl -X POST https://api.locals.money/v1/routes \
-H "Authorization: Bearer $LOCALS_KEY" \
-H "Content-Type: application/json" \
-d '{
"customerId": "cus_8Hq2Lm",
"source": { "currency": "AUD" },
"destination": {
"currency": "USDC",
"chain": "polygon",
"address": "0x7a3f0000000000000000000000000000000091c2"
}
}'const res = await fetch('https://api.locals.money/v1/routes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.LOCALS_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
customerId: 'cus_8Hq2Lm',
source: { currency: 'AUD' },
destination: { currency: 'USDC', chain: 'polygon', address: '0x7a3f0000000000000000000000000000000091c2' },
}),
});
const route = await res.json();import os, requests
res = requests.post(
"https://api.locals.money/v1/routes",
headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
json={
"customerId": "cus_8Hq2Lm",
"source": {"currency": "AUD"},
"destination": {
"currency": "USDC",
"chain": "polygon",
"address": "0x7a3f0000000000000000000000000000000091c2",
},
},
)
route = res.json(){
"id": "route_3f9a",
"customerId": "cus_8Hq2Lm",
"status": "pending",
"blocked": false,
"source": { "currency": "AUD", "rail": "local_transfer" },
"destination": { "currency": "USDC", "chain": "polygon", "address": "0x7a3f0000000000000000000000000000000091c2" },
"depositInstructions": {
"accountName": "Harbour & Co",
"bankName": "Partner bank AU",
"accountNumber": "12345678",
"routingNumber": "000-000"
},
"whitelist": null,
"createdAt": "2026-10-21T09:12:44.120Z",
"updatedAt": "2026-10-21T09:12:44.120Z"
}Reuse rule
A customer has at most one open route per source currency and destination. If the customer already has a pending or active route with the same source.currency and the same destination (currency, chain and address), POST/v1/routes returns that route with 200 instead of creating a new one. A new route answers 201; an inactive or closed route is not reused, so you get a new one.
This makes the call safe to repeat: if a request times out, send it again and you get the same route. To give one customer two sets of bank details in the same currency, use two destinations: another address, chain or stablecoin.
Wait until the route is active
A new route starts as pending and becomes active within minutes. Show the depositInstructions to your customer only once the route is active and not blocked.
Locals sends route.activated when the route becomes active. You can also read GET/v1/routes/{id}: a pending route is refreshed from the banking partner before it is returned, so each read gives you the current state. Reading every 30 to 60 seconds for the first few minutes is enough.
curl https://api.locals.money/v1/routes/route_3f9a \
-H "Authorization: Bearer $LOCALS_KEY"Deposit instructions
depositInstructions holds the bank details your customer pays into. Only the keys that apply to the currency are present:
| Key | Meaning | AUD |
|---|---|---|
accountName | Name on the account the customer pays to | yes |
bankName | Bank that holds the account | yes |
accountNumber | Account number | yes |
routingNumber | Bank routing code. In Australia this is the BSB | yes |
iban | IBAN, where the currency uses it | no |
bic | BIC / SWIFT code, where the currency uses it | no |
bankAddress | Bank address, where the currency needs it | no |
For an Australian route, show the customer account name, BSB (routingNumber, for example 000-000) and account number (for example 12345678). Render only the keys you receive; do not hard-code a layout per currency.
Australian allow-list
Each Australian route allows one sending account. Register the account your customer will pay from, before their first deposit: once a route has an allowed account, deposits from any other account are returned to the sender. A deposit into an AUD route without an allowed account is not guaranteed to be credited.
curl -X POST https://api.locals.money/v1/routes/route_3f9a/whitelist \
-H "Authorization: Bearer $LOCALS_KEY" \
-H "Content-Type: application/json" \
-d '{ "accountNumber": "87654321", "bsbNumber": "062-000" }'{ "id": "wl_4410", "accountNumber": "••••4321", "bsbNumber": "062-000", "bankName": "Commonwealth Bank of Australia", "status": "enabled" }accountNumberis 4 to 12 digits;bsbNumberis000-000or000000.201when the account is added; sending the same account again answers200.- Sending a different account replaces the allowed one (
200): from then on only the new account is credited. - GET/v1/routes/{id}/whitelist lists the allowed account. Account numbers come back masked.
bankNameis the bank of the BSB, from the official BSB directory;nullwhen the BSB is not in it.- The route carries the same account in
whitelist, ornullwhen there is none (always on AED routes). A change of the account sends no event: read the route. - Only AUD routes have an allow-list: on other routes both endpoints answer
400. A cut route refuses a new account; see Cut routes.
Deposits from any account other than the allowed one are returned to the sender: they are not credited to the route and do not settle to USDC. Tell your customer to pay only from the account you registered.
Source rails
source.rail says how the customer pays into the route. For AUD it is local_transfer: an ordinary Australian bank transfer to the BSB and account number.
- Payments from some e-money and multi-currency accounts (for example Wise or Revolut) are not accepted as the source.
- Deposits have a minimum of 100 in the deposit currency, for example A$100.00 (observed, subject to change). Tell your customers the minimum; smaller deposits are not guaranteed to settle.
Settlement
Every deposit is converted and sent in the route's destination.currency, on its destination.chain, to destination.address.
Each deposit appears as a transfer with kind: route and the route's routeId. The source side carries the bank details of the payment, and the destination side the stablecoin sent, its chain (rail) and the transaction hash:
{
"id": "trf_91kd",
"kind": "route",
"routeId": "route_3f9a",
"status": "complete",
"source": { "amount": "12500.00", "currency": "AUD", "rail": "local_transfer", "reference": "HC-2210", "senderName": "HARBOUR AND CO" },
"destination": { "amount": "8137.50", "currency": "USDC", "rail": "polygon", "address": "0x7a3f0000000000000000000000000000000091c2", "txHash": "0x5e0c…a7d4" },
"statusHistory": [
{ "status": "processing", "at": "2026-10-21T09:41:07Z" },
{ "status": "complete", "at": "2026-10-21T09:44:52Z" }
]
}Here A$12,500.00 settled as 8,137.50 USDC, a rate of 0.6510. Use source.reference and source.senderName to match the deposit to the invoice or account on your side, and list a route's deposits with GET /v1/transfers?routeId=route_3f9a. Each new deposit sends route.deposit.received, and its status changes send transfer.* events. See Transfers and payouts.
Cut routes
Locals cuts a route while its customer is blocked, or when one of its deposits goes over a limit. A cut route shows blocked: true and keeps its status.
Do not show the deposit instructions of a route with blocked: true. Tell your customer not to pay into it until it opens again.
- For an AUD route with an allowed account, the banking partner sends deposits back to the sender while the route is cut, and the account shows
status: "disabled". For an AUD route without one, and for AED, Locals cannot stop them at the banking partner yet: a deposit may still arrive, and Locals reviews it. - POST/v1/routes/{id}/whitelist is refused on a cut route: allowing an account would let deposits in again.
- New routes for the customer are refused too:
403 customer_blocked, or422 limit_exceededafter a deposit over a limit. If it was the cap on your whole volume, all your new routes wait. - The route opens again,
blocked: false, when the block is lifted or Locals has reviewed the deposit.
Cutting or opening a route sends no route event: read blocked on the route.
- A cut because the customer is blocked comes with the customer's
customer.updated, which carries the block. - A cut because a deposit went over a limit sends no event of its own, neither for the route nor for the customer. After the
route.deposit.receivedortransfer.*events of a deposit, read the customer's routes again, oronramp.blockedin GET/v1/customers/{id}/limits. Opening the routes again once Locals has reviewed the deposit sends no event either.
Reconciliation
GET/v1/routes/{id}/reconciliation compares the deposits Locals recorded on a route with the banking partner's view of the same account. It covers the latest 100 deposits.
{
"routeId": "route_3f9a",
"differences": [
{ "transferId": "trf_a20c", "depositedAt": "2026-10-21T10:02:15Z", "amount": "640.00", "currency": "AUD", "recorded": "processing", "bank": "complete" }
],
"deposits": [
{ "transferId": "trf_a20c", "status": "complete", "depositedAt": "2026-10-21T10:02:15Z", "amount": "640.00", "currency": "AUD" },
{ "transferId": "trf_91kd", "status": "complete", "depositedAt": "2026-10-21T09:41:07Z", "amount": "12500.00", "currency": "AUD" }
]
}depositsis the bank's view: each deposit with itsstatus, and thetransferIdLocals recorded for it (nullwhen it has none).differenceslists what does not match:recordedis the status at Locals andbankthe status at the bank. A deposit the bank shows and Locals has not recorded hasrecorded: null; a transfer Locals recorded and the bank does not list hasbank: null.differencesis empty when both sides agree. A difference usually means a deposit is still moving. Run it in your daily close, or when a customer says they paid and you see no transfer.
Route status
| Status | Meaning |
|---|---|
pending | Being opened. Do not show the bank details yet |
active | Ready to receive deposits |
inactive | Deactivated. Do not send customers to it |
closed | Closed for good. A closed route never changes again |
blocked: true on any of them means the route is cut: see Cut routes. See Statuses and lifecycle for the rules.