Developers
Take payments from your own site or app with the Vezmo REST API, hosted checkout, webhooks and SDKs.
curl -X POST https://api.vezmo.com/api/v1/merchant/secure-payments \-H "Authorization: Bearer $ACCESS_TOKEN" \-H "Content-Type: application/json" \-d '{"title": "Order #1234","amount": 49.99,"currency": "USD","client": { "name": "Ada Lovelace", "email": "ada@example.com" },"successUrl": "https://your-store.com/order/success"}'
url. Send your customer there to pay.The Vezmo API lets you create payments, payment links, invoices, clients and products from your own code, and tells your server what happened through signed webhook events.
Start here
- Take your first test payment: from a test key to a paid test checkout.
- API keys and access tokens: create test and live keys in VezmoPay › Developers.
- Choose how to take payments: hosted checkout, embedded checkout, card fields, mobile apps or WooCommerce.
- Webhooks: every event, and how to check its signature.
- Go-live checklist: what to check before your first live payment.
- API reference: every endpoint with examples, authentication, errors and test cards.
Webhook events
Your endpoint receives an event when a payment changes:
| Event | When it is sent |
|---|---|
payment.success | A payment succeeded. |
payment.processing | A bank payment is on its way. |
payment.awaiting_verification | The customer still has to verify their bank account. |
payment.failed | A payment failed. |
payment.canceled | A payment was canceled. |
payment.refunded | A payment was refunded, in full or in part. |
dispute.created, dispute.updated, dispute.closed | A customer disputed a payment, and what happened next. |
These are the payment and dispute events. Every event, with when it is sent: Webhooks.
Test mode keys create test payments that never move real money.
Plan limits
A few things count against your Vezmo plan: team members, e-sign agreements sent each month, removing "Powered by Vezmo", and API requests a minute. Payments, invoices, payment links and subscriptions are never limited.
A limit in watch mode refuses nothing: requests past it go through and are only logged. When a limit is enforced, a
request past it answers 403 with the code PLAN_LIMIT (429 for API requests a minute), and says what was used,
what your plan allows, and which plan has room, in errors[0]: code, limit, used, allowed, plan and
upgradeTo. An example is in Limits.
Status codes and the error body: Errors. Retrying safely: Errors, retries and idempotency.
API requests a minute
Your plan sets how many API requests your business makes a minute, all your API keys together. Live and test keys count apart, each against the same number.
| Plan | API requests a minute |
|---|---|
| Free | 60 |
| Grow | 300 |
| Pro | 1,000 |
| Enterprise | By contract |
A minute is a calendar minute (UTC): the count starts again at the top of each minute. Once this limit is enforced, a
request past it answers 429 Too Many Requests with the code PLAN_LIMIT and a Retry-After header: the seconds until
the next minute. Wait that long, then carry on. Until then it is in watch mode, so nothing is refused. Your API key's
own limit per second still applies (Limits), and Plan & billing
shows your number and your busiest minute today.
Plan billing
Your dashboard pays and changes your plan through these endpoints (signed in, not with an API key). They are listed so you know what the app does; see Plans and billing for how billing works.
| Endpoint | What it does |
|---|---|
GET /merchant/plan | Your plan, prices, fees and limits, and billing: the next bill, a change waiting, plan credit, your card, and pastDue with banner: "PLAN_PAYMENT_FAILED" while a plan payment is unpaid. recurring holds the account fees: extraCurrency (open currencies, which are included, monthlyCents, nextChargeAt, and ifOpenedNow: what one more would cost; chargeable, or why not in notChargeable, when monthlyCents is 0 and nextChargeAt and ifOpenedNow are null) and upkeep (this quarter's status; chargeable, or why not in notChargeable with startsFrom, the quarter it can apply from; moneyInCents and avgBalanceCents against their targets, chargeOn, and last). |
GET /merchant/plan/options | Every plan you can move to, at your business's own prices (monthly and yearly), with its limits and fees. A null price is set by contract. |
POST /merchant/plan/change | Move to another plan or interval. Upgrades start once paid (24 hours to pay); downgrades wait for the next bill. dryRun: true only works out the cost. |
DELETE /merchant/plan/change | Cancel a downgrade waiting for the next bill. |
PUT /merchant/plan/signup | The plan picked during sign-up. It starts, and is charged, when the account is approved. |
POST /merchant/plan/card/setup, POST /merchant/plan/card, DELETE /merchant/plan/card | Add, save and remove the card that pays the plan. |
POST /merchant/plan/pay, POST /merchant/plan/pay/confirm | Pay an open plan bill now: balances first, then the card with you present. |
GET /merchant/plan/invoices, GET /merchant/plan/invoices/{id}/pdf | Your plan invoices and their PDFs. |
out.ach is your business's own US ACH price. A rule with no fixed fee and no included count means ACH sends are
free with no monthly count.
Changing the plan, its card or paying a plan bill needs the Change the business's plan permission, which owners have. Errors you may see:
| Code | Status | Meaning |
|---|---|---|
PLAN_BILL_OPEN | 409 | A plan payment is still open. Pay it first, then change the plan. |
PLAN_NOT_APPROVED | 409 | The business isn't approved yet. Pick the plan with PUT /merchant/plan/signup; it starts the day the business is approved. |
PLAN_CHANGED | 409 | The plan changed a moment ago (a renewal, say). Read it again, then change it. |
PLAN_BY_CONTRACT | 409 | The plan is set or priced by a contract (Enterprise). |
PLAN_BILLING_OFF | 409 | Changing or paying plans in the dashboard isn't open yet. |
PLAN_BILLING_PAUSED | 409 | Paid plans aren't open yet for businesses in your country. |
In this section
Take your first test payment
Make a test API key, trade it for an access token, create a hosted checkout session, pay it with a test card, receive the payment.success webhook and check the payment over the API, with links to each call's examples in the API reference.
API keys and access tokens
Test and live API keys, generating a key with the two checks, the expiry date, one active key per teammate per mode, replacing and revoking keys, permissions, access and refresh tokens, sign-in limits and what each 401 or 403 means.
Test mode for developers
How a test key runs your integration in the sandbox on the same base URL, how test and live data stay apart, the livemode flag, emails in test mode, what isn't simulated, and test values for cards, 3D Secure, declines, disputes and bank payments.
Choose how to take payments
Compare hosted checkout, embedded checkout, card fields, payment links, invoices, mobile apps and the WooCommerce plugin by the front-end work they need, what your customer sees, the payment methods they offer and how you learn the result.
Hosted checkout
Take a payment on a checkout page Vezmo hosts for you, with one server call and a redirect, covering the session fields, the customer details, expiry, theme, success and cancel redirects, app return links, your order number and Idempotency-Key, fulfilling from the webhook and the session limit.
Webhooks
Get a signed event on your server when something happens in your business, covering adding an endpoint, all 43 events by product, the envelope and payloads, checking the signature, replies and retries, the automatic switch-off, the delivery log, catching up on missed events and changing the signing secret.
Go-live checklist
What to check before your integration takes real payments, covering approval and a live key, the key's expiry date, https redirects, trusted origins, a subscribed and verified webhook endpoint, branching on livemode, mobile app registration and a small live test.
Embedded checkout and card fields
Take a payment inside your own page, with Vezmo's embedded checkout (vezmo.js) or with card fields you place in your own form (vezmo-elements.js), covering trusted origins, the client token, browser events, wallets, pay-later methods that finish outside the frame, appearance, saved cards and knowing the result.
WooCommerce
Take payments in a WooCommerce store with the VezmoPay plugin, covering installing it, Connect with VezmoPay (and the API key it replaces), the three integration modes, test and live, manual setup, how orders are completed, refunds, and what the plugin doesn't support yet.
Errors, retries and idempotency
How the Vezmo API reports errors, covering the error body, requestId and X-Request-Id, what each status means, the error codes by area, which calls take an Idempotency-Key and how it behaves, when and how to retry, two GET routes not to repeat, and paging through lists with page or cursor.
Rate limits
The limits on how often you can call the Vezmo API, covering each API key's requests a second in test and live, your plan's API requests a minute in watch and enforced mode, limits per endpoint from one address, declined-card limits, email limits, and how to handle a 429 and Retry-After.
API changelog
Dated changes to the Vezmo API, webhooks and browser SDKs, newest first, with deprecated routes and how changes reach you, from API key expiry reminders and plan limits to the V2 webhook signature, the Agreements API and the payment link permission change.
Accounts API
Read your Vezmo accounts from your own systems and ask for payments a person approves, covering what the Accounts API reads (accounts, balances, transactions, statements and events), sending with approval, how a call is made, versions, amounts, paging, retries, errors and limits, and what no key can ever do.
Get access to the Accounts API
How to ask for the Accounts API, how we switch it on for your business at Read or Send with approval, what the Accounts API card shows, what changes once it is on, and what happens if it is switched off.
Keys and permissions for the Accounts API
The Accounts API permissions and what each does, the three key types (read-only, read and write, AI agent), choosing permissions and limits when you generate a key, test and live keys, the rules for live keys (expiry, unused permissions, the responsible person), getting an access token from POST /oauth/token, and what each refusal means.
Approve API requests
How a person in your business approves the payments and recipients your systems ask for through the Accounts API, covering who can approve, what the Approvals page shows, approving up to 50 payments at once, the two checks, rejecting, one-person businesses and what never approves.
Recipients by API
Add the people and businesses you pay through the Accounts API, covering why every new recipient waits for a person's approval, the waiting time after approval, what you send for a bank account or a stablecoin wallet, the confirmation a person ticks, the details that can and can't change, archiving, the statuses and what each refusal means.
Limits for sending with approval
Every limit on payments and recipients requested through the Accounts API, in plain words with the standard amounts, covering the most per request, amounts we can't take yet, the daily limit, solo approvals, each recipient's daily limit, open requests, new recipients a day, a key's own lower limits, request rates and what happens when a limit is reached.
AI agents and the Accounts API
Give an AI agent its own key to prepare payments and recipients for a person to approve, covering what an agent key can and can't do, the permissions it may hold, its lower limits, its 24-hour requests, the badge your approvers see, and how to run one safely.
Statements by API
Read your monthly account statements with the Accounts API, covering one statement per account per month, when a month is final, JSON, CSV and PDF, large months in parts, what the CSV columns hold, masked account details, limits and the statement.available event.
Webhooks for Accounts
Get a signed event on your server when money arrives, a transaction is booked, a statement is ready, or a recipient, payment request or transfer changes, covering the Accounts events, which endpoints get them, the event object, checking the Standard Webhooks signature, replies and retries, test events, resending and catching up on missed events.
Sandbox for the Accounts API
Build and test against simulated accounts with a test key, covering opening a test account, making money arrive, holding and returning an arrival, recipients and payment requests with simulated approvals, moving a sandbox transfer through its statuses, the events it sends, what works like live, and the sandbox's limits.
How the Accounts API keeps your money safe
The Accounts API's security model in plain words, covering the access levels, what every call is checked against, why a person approves every payment and recipient, what that approval binds, limits and duplicates, how keys are made, kept and retired, what happens when a secret leaks, and what no key and no one at Vezmo can do.
Facts checked against the product on 9 Nov 2026.
Was this page helpful?