Skip to main content
The List Payments endpoint returns a paginated collection of payment records associated with your clinic. You can narrow results using filters for appointment, status, payment method, or a creation date range — making it straightforward to pull the data you need for financial reconciliation and reporting.

Endpoint

Authentication

Include your API key as a Bearer token in the Authorization header of every request.

Query Parameters

integer
default:"20"
Number of payment records to return per page. Maximum value is 100.
string
Pagination cursor returned in the previous response’s meta.next_cursor. Omit this parameter to start from the beginning.
string
Filter payments by a specific appointment UUID. Useful for retrieving all payment entries — including partial payments — linked to a single visit.
string
Filter by payment status. Accepted values: pending, paid, cancelled.
string
Filter by payment method. Accepted values: cash, credit_card, debit_card, pix, health_plan.
string
Return only payments created at or after this timestamp. Must be a valid ISO 8601 UTC datetime (e.g. 2024-01-01T00:00:00Z).
string
Return only payments created at or before this timestamp. Must be a valid ISO 8601 UTC datetime (e.g. 2024-01-31T23:59:59Z).

Response Fields

The response is wrapped in a standard paginated envelope.
array
Array of payment objects matching your query filters.
object
Pagination and summary metadata for the current result set.
The meta.total field reflects the count of payments that match your active filters — not the total number of payments in your clinic. When combined with created_after and created_before, this makes it easy to sum revenue for a specific reporting period without fetching every page.

Error Responses

Example Request

Example Response