Accounts API · Accounts API
Recipients
The people and businesses you pay. A recipient added by API is always pending until a person in your business approves it in the Vezmo dashboard with a passkey or an authenticator app. Until then it can't be paid, and its full details are kept sealed. No key can approve a recipient.
Reads need recipients.read; adding, renaming and archiving need recipients.write, which only a read and write key or an agent key holds. Part of send with approval: until Vezmo switches that on, these routes answer 404 “No such endpoint.” Once it is on, reads work for any business with the Accounts API; writes also need your business at Send with approval, else 403 api_access_not_enabled.
What a recipient needs — GET /recipient-requirements
countryandcurrency(required);method(optional):bank_local,bank_swift,mobile_walletorstablecoin_wallet.sourceCurrency— the balance you'll pay from, if not US dollars.
One entry per way to pay that recipient, with the fields to send in POST /recipients. These are the dashboard's own fields and checks. A test key gets the sandbox table.
curl "https://api.vezmo.com/api/v1/recipient-requirements?country=GB¤cy=GBP&method=bank_local" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Vezmo-Version: 2026-11-14"{
"success": true,
"data": [
{
"method": "bank_local",
"country": "GB",
"currency": "GBP",
"network": null,
"recipientTypes": ["business", "individual"],
"estimatedArrival": "Same day to 1 business day",
"fields": [
{ "key": "accountNumber", "label": "Account number", "required": true, "pattern": "^[0-9]{8}$" },
{ "key": "sortCode", "label": "Sort code", "required": true, "pattern": "^[0-9]{6}$" },
{ "key": "bankName", "label": "Bank name", "required": true },
{ "key": "addressLine1", "label": "Address", "required": false },
{ "key": "city", "label": "City", "required": false },
{ "key": "postalCode", "label": "Postal code", "required": false }
]
}
]
}Add a recipient — POST /recipients
Idempotency-Key is required (see Idempotency). 1 request a second per key, and 20 recipients a day per key (UTC).
curl -X POST https://api.vezmo.com/api/v1/recipients \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Vezmo-Version: 2026-11-14" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Ltd",
"entityType": "business",
"method": "bank_local",
"currency": "GBP",
"country": "GB",
"network": null,
"sourceCurrency": "USD",
"fields": {
"accountNumber": "12345678",
"sortCode": "200000",
"bankName": "Barclays",
"addressLine1": "1 High St",
"city": "London",
"postalCode": "E1 1AA"
},
"email": "ap@acme.example",
"ownership": "third_party",
"dateOfBirth": null,
"registrationNumber": null,
"wallet": null,
"nickname": "Acme (supplier 114)",
"metadata": { "erpVendorId": "114" }
}'Fields
name,entityType(business|individual),method,currency,country,network(stablecoin only).fields— the keysGET /recipient-requirementslists, checked exactly as in the dashboard.ownership—third_party, orselfonly for a stablecoin wallet you have already proven is yours. A bank account can't beselfby API:400 validation_failed“Use third_party: this account can't be shown to be your own.”nickname;metadata— up to 20 keys, keys up to 40 characters, string values up to 500. Both are yours: shown to you, never to the recipient.- Any field this endpoint doesn't take is
400 validation_failed(“Not a field of this endpoint: …”), never ignored.
Stablecoin wallets (Travel Rule)
For stablecoin_wallet: currency USDC or USDT with its network; wallet with address, custody (exchange or self_hosted) and, at an exchange, exchangeName; the owner's full address in fields (addressLine1, city, state and postalCode); dateOfBirth for a person or registrationNumber for a business. Any of these missing: 400 travel_rule_info_required.
Test keys can add stablecoin wallets in the sandbox. Live keys can't add them yet: 400 currency_not_supported “Stablecoin recipients can't be added through the API yet.”
{
"name": "Lumen Studio Ltd",
"entityType": "business",
"method": "stablecoin_wallet",
"currency": "USDC",
"country": "AE",
"network": "base",
"fields": { "addressLine1": "Office 1204, Marina Plaza", "city": "Dubai", "state": "Dubai", "postalCode": "00000" },
"ownership": "third_party",
"registrationNumber": "CN-4471820",
"wallet": { "address": "0x12ab4c9e0f5d7a3b8e6c1f2d9a0b7c4e5f6a9f3c", "custody": "exchange", "exchangeName": "Example Exchange" }
}Answer
The recipient, with status pending_approval:
{
"id": "rcp_cm3w2k9aa0004",
"object": "recipient",
"livemode": true,
"status": "pending_approval",
"name": "Acme Ltd",
"nickname": "Acme (supplier 114)",
"entityType": "business",
"method": "bank_local",
"currency": "GBP",
"country": "GB",
"network": null,
"bankName": "Barclays",
"maskedAccount": "••••5678",
"ownership": "third_party",
"usableFrom": null,
"nameCheck": { "result": "unavailable", "nameHeld": null, "checkedAt": "2026-11-16T09:12:40.000Z" },
"approval": { "id": "apr_cm3w2k9aa0005", "status": "pending", "decidedAt": null },
"createdBy": { "type": "api_key", "keyId": "vzm_live_rq_…a1b2" },
"metadata": { "erpVendorId": "114" },
"createdAt": "2026-11-16T09:12:40.000Z"
}Refusals
409 recipient_exists“You already have this recipient.” withrecipientId— a recipient with the same account, currency and method, active or still waiting for approval.409 limit_exceededwithlimit: "recipients_per_day"andresetAt.400 currency_not_supported, or400 validation_failedwithfield, in the dashboard's own words. A live key adding a stablecoin wallet gets400 currency_not_supported“Stablecoin recipients can't be added through the API yet.”400 travel_rule_info_required— above.503 service_unavailable— we can't seal the details right now, so nothing is saved. Retry with the same key.
import { randomUUID } from "node:crypto";
// One Idempotency-Key per recipient you add; the SAME key on every retry of it.
export async function addRecipient(draft, key = randomUUID()) {
for (let attempt = 0; attempt < 3; attempt++) {
const res = await fetch("https://api.vezmo.com/api/v1/recipients", {
method: "POST",
headers: {
Authorization: `Bearer ${await accessToken()}`,
"Vezmo-Version": "2026-11-14",
"Idempotency-Key": key,
"Content-Type": "application/json",
},
body: JSON.stringify(draft),
});
const body = await res.json();
if (res.ok) return body.data; // status "pending_approval": a person approves it in the dashboard
const code = body.errors?.[0]?.code;
if (code === "recipient_exists") return { id: body.errors[0].recipientId, existing: true };
const again = res.status === 429 || res.status >= 500 || code === "idempotency_request_in_progress";
if (!again) throw new Error(`${code}: ${body.errors?.[0]?.message}`);
await new Promise((r) => setTimeout(r, Number(res.headers.get("retry-after") ?? 2 ** attempt) * 1000));
}
throw new Error("Gave up; retry later with the same key.");
}import uuid
import requests
def add_recipient(draft, key=None):
key = key or str(uuid.uuid4()) # the SAME key on every retry of this recipient
res = requests.post(
"https://api.vezmo.com/api/v1/recipients",
json=draft,
headers={
"Authorization": f"Bearer {access_token()}",
"Vezmo-Version": "2026-11-14",
"Idempotency-Key": key,
},
timeout=30,
)
body = res.json()
if res.ok:
return body["data"] # status "pending_approval"
raise RuntimeError(f'{body["errors"][0]["code"]}: {body["errors"][0]["message"]}')The recipient object
status—pending_approval: waiting for a person. Nobody deciding within 7 days (24 hours for an agent key's) makes itexpired.waiting: approved; it can be paid fromusableFrom. The wait counts from the approval.active: it can be paid.in_review: we're reviewing this recipient. Payments to it wait.rejected,expired,archived: it can't be paid. Add it again for a new approval.
maskedAccount— the last 4 (••••5678); a wallet's short address (0x12ab…9f3c). Full details are never sent back.nameCheck— whether the name you sent matches the name the receiving side holds:match,close_match,no_matchorunavailable. It readsunavailableon live recipients for now; the person approving then confirms the details with the payee themselves.approval— the approval it waits for (Approvals).createdBy—api_keywith the key's masked ID, ordashboard.
When a person approves it
- It is approved in Accounts › Approvals by someone with permission to manage recipients, one recipient at a time, with an emailed code and a passkey or authenticator app. Never by email link, never by key.
- The
rcp_id doesn't change. If the same account was saved in the dashboard meanwhile, it resolves to that recipient: reading the old id answers the existing one, andrecipient.approvednames both (data.object.idanddata.requestedId). - Its sealed details are deleted as soon as it is approved, rejected or expires.
List recipients — GET /recipients
One list: approved recipients, including those saved in the dashboard (masked), and the API's pending, rejected and expired ones. Newest first.
status,method,currency,country.createdFrom,createdTo— RFC 3339 with a zone.idempotencyKey— find the recipient a key made.limit,startingAfter— paging.
curl "https://api.vezmo.com/api/v1/recipients?status=pending_approval¤cy=GBP" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Vezmo-Version: 2026-11-14"GET /recipients/{id} returns one. Another business's or another mode's id answers 404.
Rename — PATCH /recipients/{id}
Only nickname and metadata. Idempotency-Key is optional. Bank or wallet details can never change:
curl -X PATCH https://api.vezmo.com/api/v1/recipients/rcp_cm3w2k9aa0004 \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Vezmo-Version: 2026-11-14" \
-H "Content-Type: application/json" \
-d '{ "nickname": "Acme (supplier 114, UK)", "metadata": { "erpVendorId": "114", "costCentre": "OPS" } }'{
"success": false,
"errors": [
{
"code": "validation_failed",
"message": "Bank details can't be changed. Archive this recipient and add a new one.",
"field": "fields",
"help": "https://user.vezmo.com/docs/v1/errors#validation_failed"
}
],
"requestId": "…"
}Archive — DELETE /recipients/{id}
Archives an approved recipient, or stops a pending one (status archived). It can't be undone: adding it again means a new approval and a new wait. Your business's admins are told. Idempotency-Key is optional. 1 a second and 30 a minute per key.
An agent key can only stop recipients still waiting for approval. A saved recipient (one a person approved, in the dashboard too) is archived only by a read and write key with recipients.write; an agent key gets 403 key_type_not_allowed: “An agent key can only stop recipients still waiting for approval. Archive this one in the dashboard or with a request key.”
curl -X DELETE https://api.vezmo.com/api/v1/recipients/rcp_cm3w2k9aa0004 \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Vezmo-Version: 2026-11-14"Events
recipient.created, .approved, .rejected, .expired, .active (its wait ended) and .archived, for recipients added by API. See Events.