Vezmo App

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

  • country, currency, method (required): bank_local, bank_swift, mobile_wallet or stablecoin_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.

Request
curl "https://api.vezmo.com/api/v1/recipient-requirements?country=GB&currency=GBP&method=bank_local" \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Vezmo-Version: 2026-11-14"
200 OK
{
  "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 }
      ]
    }
  ]
}

US bank accounts: ACH, FedNow and wire

A US bank account in US dollars has one entry per payment network: ach (1–3 business days), fedwire (same business day) and, where it is offered, fednow (in minutes). Send the entry's network in POST /recipients to pay by it; without one, the recipient is paid by ACH. FedNow costs the same as ACH on your plan and uses the same included US transfers. If the recipient's bank can't receive FedNow, the transfer fails before any money moves and the whole amount comes back; add the same account with ach to pay it.

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).

Request
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 (a stablecoin's network, or a US bank account's rail; see below).
  • fields — the keys GET /recipient-requirements lists, checked exactly as in the dashboard.
  • ownership — third_party, or self only for a stablecoin wallet you have already proven is yours. A bank account can't be self by API: 400 validation_failed “Use third_party: this account can't be shown to be your own.” A USDT wallet can be self only if it's your Vezmo stablecoin wallet on that network, and only once your wallet offers USDT; with a live key, any other is 400 validation_failed, in the dashboard's own words.
  • 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.”

Body for a wallet at an exchange
{
  "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:

201 Created
{
  "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.” with recipientId— a recipient with the same account, currency and method, active or still waiting for approval.
  • 409 limit_exceeded with limit: "recipients_per_day" and resetAt.
  • 400 currency_not_supported, or 400 validation_failed with field, in the dashboard's own words. A live key adding a stablecoin wallet gets 400 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.
Node.js
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.");
}
Python
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 it expired.
    • waiting: approved; it can be paid from usableFrom. 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_match or unavailable. It reads unavailable on live recipients for now; the person approving then confirms the details with the payee themselves.
  • approval — the approval it waits for (Approvals).
  • createdBy — api_key with the key's masked ID, or dashboard.

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, and recipient.approved names both (data.object.id and data.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.
Request
curl "https://api.vezmo.com/api/v1/recipients?status=pending_approval&currency=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:

Request
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" } }'
400 for any other field
{
  "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.”

Request
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.