Vezmo App

Accounts API · Accounts API

Quotes

A quote is a price only: what a payment to a recipient would cost, what they would get and the rate. In this phase a quote can't pay for anything. A payment is asked for with a transfer request, and when a person approves it the dashboard makes its own fresh quote, which is the one that is paid.

Creating needs quotes.write (read and write keys and agent keys); reading needs transfers.read. 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.

Price a payment — POST /quotes

Idempotency-Key is required. 30 quotes a minute per key.

  • recipientId (required) — an approved recipient of yours (rcp_…).
  • sourceCurrency — the balance it would come from; default USD.
  • sendAmount or receiveAmount — integers in minor units. sendAmount is what leaves your balance, fees included; receiveAmount is what the recipient gets, in their currency.
Request
curl -X POST https://api.vezmo.com/api/v1/quotes \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H "Vezmo-Version: 2026-11-14" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{ "recipientId": "rcp_cm3w2k9aa0004", "sourceCurrency": "USD", "sendAmount": 420000 }'
201 Created
{
  "success": true,
  "data": {
    "id": "quo_cm3w3f1bb0009",
    "object": "quote",
    "livemode": true,
    "recipientId": "rcp_cm3w2k9aa0004",
    "sourceCurrency": "USD",
    "sendAmount": 420000,
    "fee": 1500,
    "principal": 418500,
    "receiveAmount": 330112,
    "destinationCurrency": "GBP",
    "rate": "0.7888",
    "estimatedArrival": "1–2 business days",
    "expiresAt": "2026-11-16T09:40:00.000Z",
    "used": false
  },
  "requestId": "…",
  "timestamp": "…"
}

The quote object

  • sendAmount — the total that would leave your balance. fee — the whole fee, in one number. principal — what is converted and sent (sendAmount − fee).
  • receiveAmount in destinationCurrency, at rate (a decimal string).
  • estimatedArrival — always a range in words, such as “1–2 business days”.
  • expiresAt — a quote lasts about 10 minutes. used stays false for a quote made by API in this phase.
Node.js
import { randomUUID } from "node:crypto";

// What does it cost for the recipient to get exactly £2,500.00?
const res = await fetch("https://api.vezmo.com/api/v1/quotes", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${await accessToken()}`,
    "Vezmo-Version": "2026-11-14",
    "Idempotency-Key": randomUUID(), // reuse it if you retry this same quote
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ recipientId: "rcp_cm3w2k9aa0004", receiveAmount: 250000 }),
});
const { data: quote } = await res.json();
console.log(`They get ${quote.receiveAmount} ${quote.destinationCurrency}; you pay ${quote.sendAmount} ${quote.sourceCurrency}`);
Python
import uuid
import requests

quote = requests.post(
    "https://api.vezmo.com/api/v1/quotes",
    json={"recipientId": "rcp_cm3w2k9aa0004", "sendAmount": 420000},
    headers={
        "Authorization": f"Bearer {access_token()}",
        "Vezmo-Version": "2026-11-14",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    timeout=30,
).json()["data"]

Refusals

  • 404 not_found — the recipient isn't yours, or isn't in this key's mode.
  • 409 recipient_waiting with usableFrom — “This recipient can be paid from …”.
  • 409 recipient_pending_approval, recipient_in_review or recipient_archived.
  • 400 amount_too_large (over the payment method's own limit); 400 currency_not_supported; 400 validation_failed (both amounts, or neither).
  • 403 fees_owed — new payments are paused until what your business owes Vezmo is paid.

Get a quote — GET /quotes/{id}

The same object (quo_…). Another business's id answers 404.