Skip to main content
The List Payables endpoint returns a paginated collection of all payables in your account. You can narrow results by lifecycle status, run a free-text search across invoice numbers, descriptions, and contact names, and control page size to suit your UI or data-pipeline needs. Each item in the response is a summary-level Payable object; retrieve a single payable with GET /v1/payables/ to access full line-item detail.

Request

GET https://api.cleo-pay.com/v1/payables Include your bearer token in every request:

Query Parameters

page
number
default:"1"
The page number to return. Must be 1 or greater.
pageSize
number
default:"25"
Number of payables to return per page. Minimum 1, maximum 100.
status
string
Filter results to payables matching a specific lifecycle status. Accepted values:
Free-text search string. Matched against invoice numbers, descriptions, and contact display names.

Example Request

Response

A successful request returns HTTP 200 with a JSON body containing a paginated list of payable objects.
items
array
Array of Payable objects matching the query.
totalCount
number
Total number of payables matching the current query, across all pages. Use this value to calculate page counts and drive pagination controls.

Example Response

Use totalCount together with your chosen pageSize to calculate the total number of pages: Math.ceil(totalCount / pageSize). For example, totalCount: 84 with pageSize: 25 yields 4 pages. Increment page from 1 to that ceiling to iterate through all results.