Page-based lists
The answer is:
totalCount counts every match across all pages. The number of pages is Math.ceil(totalCount / pageSize).
GET /v1/payments is newest first, with ties in a fixed order, so walking the pages neither repeats nor skips a payment that did not change.
With updatedSince, GET /v1/payables and GET /v1/payments return the oldest change first, ordered by updatedAt and then id. See Sync bills and payments.
Cursor-based list
GET /v1/balance/transactions uses a cursor:
startingAfter set to nextCursor until hasMore is false.
Unpaginated lists
GET /v1/bank-accounts, GET /v1/funding-sources and GET /v1/webhook-endpoints return every item at once as { "items": [...] }.