API documentation Coming soon

Build on Onzo.

An open REST API for partners and systems that need to integrate with cards, transactions, cashback, and bookkeeping. JSON, Bearer tokens, and scoped access. This reference is a published spec — the API is not live yet, and access opens with our next release.

REST · JSONBearer tokensScoped accessPartner-first
Register interest API reference
Quick startAuthEndpointsConventions
What the API is for

The same engine as the app, over HTTP.

The API exposes the domains you know from Onzo: cards, transactions, cashback, receipts, invoices, travel, and team. Built for partner platforms, ERP integrations, and internal automation — not ad-hoc scraping of the UI.

BASE URLhttps://api.onzopay.com/v1
Quick start

Three steps to your first call.

The API is not live yet. When access opens, every token is scoped to what you actually need.

STEP 01

Register interest

Tell us what you're building. API access opens with our next release — we'll agree environment and scopes when it does.

STEP 02

Get your token

You receive a Bearer token with exactly the permissions you need. Rotate freely, one token per environment.

STEP 03

Call the API

Base URL, headers, and JSON as below. The full schema reference and webhooks arrive with onboarding.

Authentication

Token-based access.

Every call requires a token, sent as a Bearer in the Authorization header. Tokens will be issued with the scopes you agree when access opens. Rotate tokens if leaked, and use separate tokens per environment.

Headers
AuthorizationBearer {token}
Acceptapplication/json
Content-Typeapplication/json
Token scopes
cards:readList and read cards
cards:writeIssue, freeze, and update cards
transactions:readRead transactions and statuses
cashback:readRead cashback balance and payouts
receipts:readRead receipts and match status
receipts:writeUpload receipts and update metadata
invoices:readRead invoices and match results
invoices:writeSubmit invoices for matching
travel:readRead bookings and itineraries
team:readRead members and roles
team:writeInvite members, change roles
*Full access (all scopes)
Request with token
# List cards
curl -X GET https://api.onzopay.com/v1/cards \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"
Issue a virtual card
curl -X POST https://api.onzopay.com/v1/cards \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "virtual",
    "holder_id": "mem_…",
    "monthly_limit": 500000,
    "label": "Meta Ads"
  }'
Amounts are integer minor units (cents). 500000 = €5,000.00.
REST API

Endpoint reference.

34 endpoints across 8 resource groups. Paths are relative to the base URL. Full request and response schemas come with onboarding.

Cards

Issue and control cards. · 6 endpoints
GET/cardsList cards
GET/cards/{id}Get card
POST/cardsIssue card
PUT/cards/{id}Update limits & controls
POST/cards/{id}/freezeFreeze card
POST/cards/{id}/unfreezeUnfreeze card

Transactions

Card spend and statuses. · 4 endpoints
GET/transactionsList transactions
GET/transactions/{id}Get transaction
GET/transactions/{id}/matchMatch status
POST/transactions/{id}/noteAttach memo

Cashback

Balance, payouts, partner offers. · 3 endpoints
GET/cashback/balanceCurrent balance
GET/cashback/payoutsList payouts
GET/cashback/offersPartner offer catalogue

Receipts

Receipts in, matching, and status. · 5 endpoints
GET/receiptsList receipts
GET/receipts/{id}Get receipt
POST/receiptsUpload receipt
POST/receipts/{id}/approveApprove match
DELETE/receipts/{id}Delete receipt

Invoices

Invoices for AI matching. · 4 endpoints
GET/invoicesList invoices
GET/invoices/{id}Get invoice
POST/invoicesSubmit invoice
GET/invoices/{id}/suggestionsMatch suggestions

Travel

Bookings and itineraries. · 4 endpoints
GET/travel/bookingsList bookings
GET/travel/bookings/{id}Get booking
GET/travel/bookings/{id}/receiptBooking receipt
POST/travel/bookings/{id}/cancelCancel booking

Team

Members, roles, and access. · 4 endpoints
GET/team/membersList members
POST/team/membersInvite member
PUT/team/members/{id}Change role
DELETE/team/members/{id}Remove member

Webhooks

Events pushed to your system. · 4 endpoints
GET/webhooksList endpoints
POST/webhooksCreate endpoint
DELETE/webhooks/{id}Delete endpoint
GET/webhooks/eventsEvent catalogue
Conventions

How the API is put together.

Predictable, boring, and the same everywhere — the way an API should be.

Pagination

List endpoints use cursor pagination: limit, starting_after, and has_more. Default limit 25, max 100.

Amounts

All money is integer minor units (cents). Never floating point. Currency is ISO 4217, e.g. EUR.

IDs

Resource IDs are opaque prefixed strings: crd_, txn_, rcp_, inv_, mem_. Treat them as strings.

Errors

Errors return JSON with type, message, and param. Status codes follow standard: 400, 401, 403, 404, 429, 5xx.

Idempotency

Creating POSTs accept an Idempotency-Key header. The same key within 24 hours returns the original response.

Rate limits

Quota is per token. X-RateLimit-Limit, X-RateLimit-Remaining, and Retry-After headers tell you where you stand.

Error format
{
  "error": {
    "type": "invalid_request",
    "message": "holder_id is required",
    "param": "holder_id"
  }
}
List response
{
  "data": [ /* … */ ],
  "has_more": true,
  "next_cursor": "txn_…"
}

Building on Onzo?

Register your interest and tell us what you're building. Access opens with our next release — you'll be first in line.

Register interest
Replies on weekdays · Access opens with our next release