localsDocs Get sandbox keys
Guides/Collect AUD

Collect AUD

Verify a business, open an AUD route, allow its sending account and follow each deposit until the USDC lands.

This guide follows one business, Harbour & Co, from sign-up to its first settled deposit. At the end, Harbour & Co pays A$12,500.00 by bank transfer into its own Australian account details and receives 8,137.50 USDC on Polygon.

  1. Create the customer. You get a hosted verification (KYB) link.
  2. Wait for approval. Read the customer until it is approved.
  3. Open a route. Wait until it is active.
  4. Allow the sending account. Australian routes only credit one known account.
  5. Show the deposit instructions. BSB and account number for your customer.
  6. Follow the deposit. It appears as a kind: route transfer and completes with a txHash.
  7. Reconcile. Compare the route's deposits with the bank's view.
Note

This guide reads each object to show what changes. In production, register an endpoint and let the events in each step tell you instead: customer.updated, route.activated, route.deposit.received and transfer.completed. See Events.

Before you start

All requests send Authorization: Bearer <key> and JSON bodies. Amounts are decimal strings in major units.

1. Create the business customer

Create the customer with your own id in externalId. For a business, the response carries a hosted verification link in verification.link.

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
import 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()
Response · 201
{
  "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
}

Store id next to your own account. One customer per externalId: creating it twice returns 409 customer_exists, so a retry after a timeout cannot create a duplicate.

2. Complete the hosted KYB

Send your customer to verification.link. Locals hosts the whole verification: company details, documents and the people behind the business. When it ends, the customer returns to redirect.successUrl (or redirect.rejectUrl after a rejection).

3. Wait until the customer is approved

Read the customer until its route capability for AUD is enabled. Verification is read live on every call.

curl https://api.locals.money/v1/customers/cus_8Hq2Lm \
  -H "Authorization: Bearer $LOCALS_KEY"
const res = await fetch('https://api.locals.money/v1/customers/cus_8Hq2Lm', {
  headers: { Authorization: `Bearer ${process.env.LOCALS_KEY}` },
});
const customer = await res.json();
const canCollect = customer.capabilities.some(
  (c) => c.operation === 'route' && c.currency === 'AUD' && c.status === 'enabled',
);
res = requests.get(
    "https://api.locals.money/v1/customers/cus_8Hq2Lm",
    headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
)
customer = res.json()
can_collect = any(
    c["operation"] == "route" and c["currency"] == "AUD" and c["status"] == "enabled"
    for c in customer["capabilities"]
)
Response · 200
{
  "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
}

customer.updated tells you when it changes; without an endpoint, read it every few minutes while the capability is processing, and stop once it is enabled or rejected. If it is action_required, see what its requirements ask for. See Customers and verification for every verification state.

4. Open an AUD route

A route is a set of Australian bank details that belongs to this customer. Every deposit into it settles in USDC to the address you give.

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();
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()
Response · 201
{
  "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"
}

Opening the same route twice is safe: if the customer already has a pending or active route with the same source currency and destination (stablecoin, chain and address), you get that route back with 200.

A customer whose route capability for AUD is not enabled gets 422 customer_not_ready; a blocked customer, 403 customer_blocked.

5. Wait until the route is active

A new route starts as pending and becomes active within minutes, and Locals sends route.activated. Without an endpoint, read the route: a pending route is refreshed before it is returned.

curl https://api.locals.money/v1/routes/route_3f9a \
  -H "Authorization: Bearer $LOCALS_KEY"
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));

let route;
for (let i = 0; i < 60; i++) {
  const res = await fetch('https://api.locals.money/v1/routes/route_3f9a', {
    headers: { Authorization: `Bearer ${process.env.LOCALS_KEY}` },
  });
  route = await res.json();
  if (route.status !== 'pending') break;
  await sleep(5000);
}
import time

for _ in range(60):
    res = requests.get(
        "https://api.locals.money/v1/routes/route_3f9a",
        headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
    )
    route = res.json()
    if route["status"] != "pending":
        break
    time.sleep(5)

Poll every 5 seconds for up to 5 minutes. If the route is still pending after that, keep checking at a slower pace and do not show its details yet.

6. Allow the customer's sending account

Each Australian route allows one sending account, and once it has one, money sent from any other account is returned to the sender. Register the account Harbour & Co will pay from, before the first deposit:

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" }'
const res = await fetch('https://api.locals.money/v1/routes/route_3f9a/whitelist', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.LOCALS_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ accountNumber: '87654321', bsbNumber: '062-000' }),
});
const allowed = await res.json();
res = requests.post(
    "https://api.locals.money/v1/routes/route_3f9a/whitelist",
    headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
    json={"accountNumber": "87654321", "bsbNumber": "062-000"},
)
allowed = res.json()
Response · 201
{ "id": "wl_4410", "accountNumber": "••••4321", "bsbNumber": "062-000", "bankName": "Commonwealth Bank of Australia", "status": "enabled" }

7. Show the deposit instructions

Once the route is active, not blocked, and the sending account is allowed, show depositInstructions to your customer. In Australia, routingNumber is the BSB. If the route later shows blocked: true, hide them: see Cut routes.

FieldShow asValue
accountNameAccount nameHarbour & Co
routingNumberBSB000-000
accountNumberAccount number1234 5678
bankNameBankPartner bank AU

Tell your customer three things next to the details:

See Coverage and limits for the rest of the AUD limits.

8. Follow the deposit

Each bank transfer into the route becomes a transfer with kind: route and routeId set. A deposit starts in processing and ends in complete or failed; it can pass through review if it needs a manual check.

processing→review→completefailed

List the route's deposits. Transfers come most recently updated first.

curl "https://api.locals.money/v1/transfers?kind=route&routeId=route_3f9a" \
  -H "Authorization: Bearer $LOCALS_KEY"
const res = await fetch('https://api.locals.money/v1/transfers?kind=route&routeId=route_3f9a', {
  headers: { Authorization: `Bearer ${process.env.LOCALS_KEY}` },
});
const { data, hasMore } = await res.json();
res = requests.get(
    "https://api.locals.money/v1/transfers",
    headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
    params={"kind": "route", "routeId": "route_3f9a"},
)
page = res.json()
Response · 200
{
  "data": [
    {
      "id": "trf_91kd",
      "kind": "route",
      "routeId": "route_3f9a",
      "status": "complete",
      "source": { "amount": "12500.00", "currency": "AUD", "reference": "HC-2210" },
      "destination": { "amount": "8137.50", "currency": "USDC", "txHash": "0x5e0c…a7d4" }
    }
  ],
  "page": 1,
  "totalCount": 1,
  "totalPages": 1,
  "hasMore": false,
  "nextCursor": null
}

Each new deposit sends route.deposit.received; without an endpoint, read the list every 30 to 60 seconds. Match each deposit to your records by source.reference (the reference the sender typed) and source.senderName.

9. Confirm the settlement

Read the transfer to get the full detail. A complete deposit carries the USDC amount, the address it went to and the on-chain txHash.

curl https://api.locals.money/v1/transfers/trf_91kd \
  -H "Authorization: Bearer $LOCALS_KEY"
const res = await fetch('https://api.locals.money/v1/transfers/trf_91kd', {
  headers: { Authorization: `Bearer ${process.env.LOCALS_KEY}` },
});
const transfer = await res.json();
res = requests.get(
    "https://api.locals.money/v1/transfers/trf_91kd",
    headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
)
transfer = res.json()
Response · 200
{
  "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" }
  ]
}

A$12,500.00 became 8,137.50 USDC, an effective rate of 0.6510. Credit your customer only when status is complete, and keep txHash as proof of settlement.

If a deposit ends in failed, the USDC was not sent. Contact Locals support with the transfer id. See Statuses and lifecycle for every transfer status.

10. Reconcile the route

Once a day, or whenever your numbers look wrong, compare the deposits Locals recorded on the route with the bank's view. differences is empty when both sides agree. It covers the latest 100 deposits.

curl https://api.locals.money/v1/routes/route_3f9a/reconciliation \
  -H "Authorization: Bearer $LOCALS_KEY"
const res = await fetch('https://api.locals.money/v1/routes/route_3f9a/reconciliation', {
  headers: { Authorization: `Bearer ${process.env.LOCALS_KEY}` },
});
const recon = await res.json();
if (recon.differences.length) console.warn('Route out of sync', recon.differences);
res = requests.get(
    "https://api.locals.money/v1/routes/route_3f9a/reconciliation",
    headers={"Authorization": f"Bearer {os.environ['LOCALS_KEY']}"},
)
recon = res.json()
if recon["differences"]:
    print("Route out of sync", recon["differences"])
Response · 200
{
  "routeId": "route_3f9a",
  "differences": [],
  "deposits": [
    { "transferId": "trf_91kd", "status": "complete", "depositedAt": "2026-10-21T09:41:07Z", "amount": "12500.00", "currency": "AUD" }
  ]
}

A non-empty differences usually means a deposit is still moving. Each difference has recorded (the status at Locals) and bank (the status at the bank), null on the side that does not have it. Read each transfer it names with GET/v1/transfers/{id}, and contact support if a difference stays after the deposit reaches a final status.

Next steps