Enable and send a payment link
Enable the payment link
Call the enable endpoint for the payable you want to share. This generates a unique The response includes the payment link URL and the
nanoId token and activates the link.nanoId token that identifies this link publicly.Check link status (optional)
Retrieve the current status of a payment link at any time to confirm it is enabled and to get the link URL.
Payer experience
When a vendor opens the payment link, they go through the following flow without needing a Cleo Pay account:- Validate the link — The public endpoint
GET /api/public/invoices/{nanoId}/validateconfirms the link is active and has not been disabled. - View invoice details — The vendor sees full invoice details retrieved from
GET /api/public/invoices/{nanoId}/invoice, including line items, total amount, and due date. They can also download a PDF copy viaGET /api/public/invoices/{nanoId}/pdf. - Connect a bank account — The vendor connects their bank account using Plaid Link or, if they already have a verified Cleo Pay account, they can use an existing bank account via the authenticated payment endpoint.
- Pay — The payment is initiated via
POST /api/public/invoices/{nanoId}/pay. Cleo Pay processes the ACH transfer and updates the payable status.
Payment links use ACH transfers. Funds typically settle within 1–3 business days depending on the clearing speed selected.
Disable a payment link
If you want to prevent further payments on a link — for example, if the invoice is already paid or cancelled — disable it:API reference
| Method | Endpoint | Description |
|---|---|---|
GET | /api/businesses/{businessId}/payables/{payableId}/payment-link | Get payment link status |
POST | /api/businesses/{businessId}/payables/{payableId}/payment-link/enable | Enable a payment link |
POST | /api/businesses/{businessId}/payables/{payableId}/payment-link/disable | Disable a payment link |
POST | /api/businesses/{businessId}/payables/{payableId}/payment-link/send | Send link by email |
GET | /api/public/invoices/{nanoId}/validate | Validate a link (public) |
GET | /api/public/invoices/{nanoId}/invoice | Get invoice details (public) |
POST | /api/public/invoices/{nanoId}/pay | Pay via ACH (public) |
GET | /api/public/invoices/{nanoId}/pdf | Download invoice PDF (public) |