Clio keeps this API spread over a guide, an API reference, a webhooks guide and four shared rules pages, with no index. This page collects all of it: every endpoint, every field, every limit.
6endpoints
3kinds of payment link
90 dayslongest a link can live
4data regions
1webhook event
Overview
Overview
Your app creates a link to a Clio-hosted payment page and gives it to a client. The client pays there. Your app then reads the payment back. Clio handles the card form and the money.
Pay an invoice
A link tied to one bill. It can cover an invoice or a trust request. The client may pay part or all of it.
subject.type = "Bill"
Pay a contact’s open balance
A link tied to a contact who has outstanding invoices. Their balance gets paid down.
subject.type = "Contact"
Take a direct payment
Money goes straight to a bank account, as revenue or as an unallocated balance to apply later.
subject.type = "BankAccount"
Quick start
Quick start
The shortest path from nothing to a paid link.
Get the scope.The user must accept clio_payments during OAuth. Authorize at https://app.clio.com/oauth/authorize, exchange the code at https://app.clio.com/oauth/token.
Find a bank account that can take payments.Call the Bank Accounts endpoint and look for clio_payments_enabled to be true. Use that account’s id as destination_account.
Create the link.POST /clio_payments/links.json with currency, duration, destination_account and a subject. Send back the url to your client.
Watch for payment.Subscribe a webhook to clio_payments_payment, or poll GET /clio_payments/payments.json.
Check the invoice.Read the bill’s state and balance from the Bills endpoint to see what is paid and what is still open.
Bill states you will see:draft, awaiting_payment, paid, void. balance is what is still owed. To see payments on one bill, ask for bills{id,payments{id,amount,state}}.
All endpoints
All endpoints
Six calls in two groups. Base URL for the US region is https://app.clio.com/api/v4. Click a row to jump to it.
These come from the guide page. Most “why did my request fail” questions end here.
90 daysLongest a link can stay active. duration max is 7,776,000 seconds.
50 × usersMost active links on the account at once.
50 × usersMost links you can create in any 24 hours.
Single useA link expires the moment it is paid.
Who can collect, and in what money
Scope
The authenticating user must accept clio_payments.
Account
The account must have Clio Payments turned on.
Bank account
Must be connected to Clio Payments. Check the clio_payments_enabled field on the bank account: true means it is connected.
Currency
Only the account’s own currency. United States: USD. Canada: CAD. United Kingdom: GBP. Use an ISO 4217 code.
Redirect URL
redirect_url must match one of the payment-link base URLs saved in your app’s settings in the developer portal.
Visibility
The payments endpoint only returns payments made through links your app created.
What each link type needs
Pay invoice / trust request
Required: currency, destination_account, duration, subject with type Bill. Optional: amount (if left out the client picks, up to the full amount), email_address, redirect_url.
Pay a contact’s balance
Same fields as above, with subject.type = "Contact" and the contact’s id.
Direct payment
Required: currency, description (max 255 characters), duration, subject with type BankAccount. Optional: amount, destination_contact, email_address, is_allocated_as_revenue, redirect_url. With no contact and an unallocated balance, you tie the payment to a contact later inside Clio Manage.
Endpoints · payment links
Payment links
Create, list, read and expire links. Tag in the reference: Clio Payments Links.
Make a payment link. What you pass in subject.type decides whether it pays an invoice, pays a contact’s open balance, or takes a direct payment.
Parameters
Name
Type
Details
X-API-VERSION
headerstring
The API minor version. Default: latest version.
fields
querystring
The fields to be returned. See response samples for what fields are available. For more information see the fields section.
Request body application/json, wrapped in data
Name
Type
Details
amountoptional
number · double
The amount to be paid. If not provided, the client will be able to specify an amount.
currencyrequired
string
The currency the payment will be processed in. The supported currency depends on the account's location ('USD' for a US account). The currency must be a valid ISO 4217 currency code.
descriptionrequired
string
Only applicable for a direct payment. A short description of the purpose of the payment. Max 255 characters.
destination_accountrequired
object
idintegerrequired
The ID of the bank account that the payment will be deposited into.
destination_contactoptional
object
idinteger
Only applicable for a direct payment. The contact that the payment will be associated with. If not defined, and the payment is collecting an unallocated balance, then the payment can be associated with a contact manually within Manage after it has been made.
durationrequired
integer · int64
The amount of time, in seconds, that the payment link will be active for. The maximum allowed value is '7776000' (90 days in seconds).
email_addressoptional
string
Pre-fills the relevant field for the client when filling out their details in the payment link.
is_allocated_as_revenueoptional
boolean
Only applicable for a direct payment. If true, the payment will be allocated as revenue and cannot be later linked to a bill. If false, the payment will be collected as an unallocated balance. Payments into trust can not be allocated as revenue. Defaults to false.
subjectrequired
object
idintegerrequired
The ID of the record associated with the payment link.
typestringrequired
The type of the record associated with the payment link. The type of record determines the behavior of the payment link.
Type of subject object:
'BankAccount' results in a payment link for a direct payment.
'Bill' results in a payment link for paying an existing invoice or trust request.
'Contact' results in a payment link for paying the outstanding invoices of a contact.
The time the payment was last updated (as a ISO-8601 timestamp)
Nested records you can ask for
bank_transactionThe bank transaction for the payment. Absent until the payment is tied to a contact or matter.
clio_payments_linkThe link the payment came through.
contactThe contact the payment belongs to.
destination_accountThe bank account the money went into.
userThe Clio user who created the link.
allocationsHow the payment was split across bills.
billsBills the payment is, or will be, applied to.
mattersMatters the payment is, or will be, applied to.
Nested records take their own field list in curly brackets, one level deep: fields=id,amount,contact{id,name}. A second level of nesting returns a 400.
Payment states
Payment states
The state field on a payment. Filter with ?state=completed. The one-line meanings are our plain-English reading; Clio lists only the names.
pendingStarted, not yet processed.
authorizedCard approved, money not yet captured.
completedPaid and settled.
voidedCancelled before it settled.
failedThe attempt did not go through.
canceledThe client or Clio stopped it.
requires_confirmationWaiting on an extra confirmation step.
completed_requiring_allocationPaid, but not yet matched to a bill or matter.
Webhooks
Webhooks
Get told when a payment changes instead of polling.
Model
clio_payments_payment
Scope needed
clio_payments plus the webhooks scope, both granted at authorization.
Events
created and updated only. There is no deleted event because payments can not be deleted.
Guide
The full Webhooks guide covers creating a webhook, checking signatures and handling failed deliveries.
Shared API rules
Shared API rules
These apply to every Clio Manage call, Payments included. Each has its own page in Clio’s docs.
Rate limits
Per access token. Default 50 requests a minute at peak hours, more off-peak. Watch X-RateLimit-Remaining. On a 429, wait Retry-After seconds. Peak: US/CA 4 AM to 7 PM Pacific, weekdays.
Paging
Up to 200 records per call (limit). Follow meta.paging.next. Cursor paging is the default and has no cap. Offset paging stops at 10,000 records.
ETags
Send IF-NONE-MATCH on reads to get a 304 when nothing changed. Send IF-MATCH on PATCH to avoid overwriting newer data (412 if it moved).
Fields
Pick your fields with fields=a,b,c. Bad names give a 400. Nest one level: contact{id,name}.
Versions
Optional X-API-VERSION header, like 4.0.4. Leave it off for the latest. An invalid or retired value returns 410.
Regions
Four data regions with their own hosts. Swap the host in every URL.
Region base URLs
US region
https://app.clio.com/api/v4
Europe region
https://eu.app.clio.com/api/v4
Canada region
https://ca.app.clio.com/api/v4
Australia region
https://au.app.clio.com/api/v4
Docs vs. spec
Where Clio’s docs and spec disagree
Two spots to know about. We have not tested either against the live API (no Clio account was used for this page), so treat the working answer as a starting point.
1. The list URL. The guide page says GET /api/v4/clio_payment_links. The API reference says GET /api/v4/clio_payments/links.json. This page uses the reference, because it also matches the create call. If the first one fails, try the other.
2. Is description required? The guide says it is required only for direct payments. The reference marks it required on every create call. Safe move: always send a short description.
Sources
Sources
Everything here was read from these public Clio pages. No login was used.