Vezmo App

Accounts API · Accounts API

Your key and its caps

GET /me answers which business and mode the key works in, its type, permissions and expiry, and what its caps leave today. Any Accounts API permission can call it. It is part of send with approval: until Vezmo switches that on, it answers 404 “No such endpoint.”

Get your key — GET /me

Request
curl https://api.vezmo.com/api/v1/me \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Vezmo-Version: 2026-11-14"
200 OK
{
  "success": true,
  "data": {
    "business": { "id": "cm2v7z0aa0001", "name": "Northwind Audio LLC" },
    "livemode": true,
    "keyType": "request",
    "scopes": ["accounts.read", "recipients.read", "recipients.write", "quotes.write", "transfers.read", "transfers.request"],
    "expiresAt": "2027-05-15T00:00:00.000Z",
    "caps": {
      "perRequest": 499999,
      "dailyApi": { "limit": 1000000, "used": 420000, "resetAt": "2026-11-17T00:00:00.000Z" },
      "openRequests": { "limit": 50, "open": 3 },
      "recipientsToday": { "limit": 20, "used": 2 }
    }
  },
  "requestId": "…",
  "timestamp": "…"
}

Fields

  • livemode — false for a test key (the sandbox).
  • keyType — read_only (vzm_*_ro_), request (vzm_*_rq_) or agent (vzm_*_ag_). See keys for sending with approval.
  • expiresAt — when the key stops working. A live key with any Accounts API permission made since 17 Nov 2026 has one; an older key can show null.
  • caps.perRequest — the largest transfer request this key can make, in US cents.
  • caps.dailyApi — payments approved from API requests today (UTC), against the tightest daily cap that applies to this key (its own or your business's, whichever leaves less), in US cents. limit − used is what this key can still have approved today. resetAt is the next UTC midnight.
  • caps.openRequests — this key's transfer requests still waiting for a person, against its limit.
  • caps.recipientsToday — recipients this key added today (UTC), against its limit.

Every cap and its default is on Transfer requests. The tightest cap wins; a cap can be lowered on a key, never raised.

Node.js
// Check what is left before queueing a batch of requests.
const res = await fetch("https://api.vezmo.com/api/v1/me", {
  headers: { Authorization: `Bearer ${await accessToken()}`, "Vezmo-Version": "2026-11-14" },
});
const { data } = await res.json();
const leftToday = data.caps.dailyApi.limit - data.caps.dailyApi.used; // US cents
const openSlots = data.caps.openRequests.limit - data.caps.openRequests.open;
Python
import requests

me = requests.get(
    "https://api.vezmo.com/api/v1/me",
    headers={"Authorization": f"Bearer {access_token()}", "Vezmo-Version": "2026-11-14"},
    timeout=30,
).json()["data"]
left_today = me["caps"]["dailyApi"]["limit"] - me["caps"]["dailyApi"]["used"]  # US cents