List bill payments
GET
/api/v1/bills/{bill_id}/payments
Retrieve all payments for a specific bill.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Path
-
bill_idstring required
Query
-
cursorstring -
Cursor for pagination
-
limitinteger -
Pagination limit
-
directionstring default:next -
Pagination direction: 'next' or 'prev'
-
include_total_countboolean default:False -
Whether to include total count (expensive - avoid if possible)
-
sort_bystring -
Column name to sort by (e.g. 'created_at', 'amount', 'name'). When changing sort, reset cursor to None.
-
descendingboolean default:True -
Sort direction: true for descending (newest/largest first), false for ascending
Responses
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
404 Not Found - Resource does not exist
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-