What you can do
Bills (payables)
Create a bill for an existing vendor, submit it into the business’s approval flow, and read its document and payment status.
Payments
Pay a bill or a contact on the rail you choose, then list, read, cancel and retry payments.
Funding sources
See what the business can pay from on each rail, with the exact fields to send.
Invoices
Create and send invoices with a hosted pay link, void them, or mark them paid outside Cleo.
Balance
Read the Cleo Pay balance and its transactions, and withdraw to a verified bank.
Webhooks
Register endpoints and receive signed
payment.*, invoice.*, payable.*, bank_account.* and contact.* events.Two payment rails
A Cleo business can hold two payment rails:
A business keeps every rail it has and chooses one per payment. The business’s default rail only applies when a payment names no rail and no source. See Funding sources.
Hosts
Each key works on one host only.
The sandbox uses a separate database, the Dwolla sandbox and Stripe test mode, so no real money moves. A test key sent to production, or a live key sent to the sandbox, gets
401 wrong_environment.
The OpenAPI document for each host is at /docs/json (for example https://api.stg.cleo-pay.com/docs/json), and Swagger UI is at /docs.
Before your first call
1
The business finishes identity verification
A key can be created before verification, but until the business is verified every call except
GET /v1/business answers 403 business_not_verified.2
An admin creates an API key
Keys are created in the Cleo web app with the scopes your integration needs. See Authentication.
3
Check the business status
Call
GET /v1/business. It reports the setup stage, whether payments are locked, the default rail, and whether each rail can send and receive.Data conventions
Next steps
- Authentication: keys, hosts and scopes.
- Quickstart: pay your first bill in the sandbox.
- Errors and Idempotency: handle refusals and retry safely.