Payments
Get Payments
Learn how to list payments of a store using the endpoint GET /stores//payments.
GET
List payments
๐ Endpoint
GET /stores/{storeId}/payments
Returns the payments linked to the store.
๐ Authentication
- Private route.
- Requires header
Authorizationwith your API key and active plan.
๐งพ Route parameters
โ Example request
๐ Query params
๐ Cursor pagination
For large lists (more than ~100 items), prefer cursor pagination instead ofpage:
- Make the first call without
cursor. - If
hasMoreistrue, the response contains thenextCursorfield. - Send that
nextCursorin thecursorparameter of the next request to fetch the next page.
nextCursor, hasMore and limit:
cursorandpagecannot be used together (400 INVALID_PAGINATION).nextCursor: nullwithhasMore: falseindicate the end of the list (the API responds200with an empty array).
Standard snippet (cURL)
Use the cURL example from the Request example section above as the official snippet.๐ฆ Success response (200)
The first call (withoutcursor) already returnsnextCursorandhasMorein the pagination, allowing cursor pagination to start without extra calls.
โ ๏ธ Possible errors
400 INVALID_DATAโ invalid parameters400 INVALID_PAGINATION_LIMITโlimitoutside the allowed range (1to100)400 INVALID_PAGINATION_PAGEโ invalidpage400 INVALID_PAGINATION_CURSORโ invalid or malformedcursor400 INVALID_PAGINATIONโpageandcursorused together401 API_KEY_NOT_PROVIDEDโ missingAuthorizationheader401 INVALID_API_KEYโ invalid API key401 UNAUTHENTICATEDโ unauthenticated user403 USER_DISABLEDโ user disabled or deleted403 NO_ACTIVE_SUBSCRIPTIONโ inactive or expired plan404 STORE_NOT_FOUNDโ store not found429 RATE_LIMIT_EXCEEDEDโ plan per-minute rate limit exceeded500 INTERNAL_SERVER_ERRORโ internal error503 SERVICE_UNAVAILABLEโ service temporarily unavailable