TeePayDocs
Integration guides

Pagination

How list endpoints page through results with cursors.

List endpoints return newest items first and page with an opaque cursor.

curl "https://api.teepay.me/v1/collections?limit=50" -H "Authorization: Bearer $TEEPAY_API_KEY"
# then
curl "https://api.teepay.me/v1/collections?limit=50&cursor=NEXT_CURSOR" -H "Authorization: Bearer $TEEPAY_API_KEY"

Keep requesting with the returned next_cursor until it is null.

EndpointItems fieldlimitFilters
GET /v1/collectionsitems1 to 100, default 25status, currency
GET /v1/disbursementsitems1 to 100, default 25status, currency
GET /v1/checkout-sessionsitems1 to 50, default 20none
GET /v1/control-numbersdatafixed page sizenone

Treat cursors as opaque strings: do not build or change them. Unknown query parameters are rejected with 422 invalid_request.