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 emailed code, 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 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.
Facts checked against the product on 9 Nov 2026.
Was this page helpful?