How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.
List endpoints return results one page at a time. Choose the page and its size with query parameters, and the response tells you how many pages there are.
Many list endpoints also take filters, such as status, currency, from and to. Each endpoint page lists the filters it accepts.
⌘I
{"docsConfig":{"theme":"willow","$schema":"https://mintlify.com/docs.json","name":"Spotflow Documentation","colors":{"primary":"#1326FD","light":"#6FA0FF","dark":"#0D0D0D"},"logo":{"light":"https://mintcdn.com/spotflow/Vs8lqXSKtRcxNxWi/logo/logo-light.png?fit=max\u0026auto=format\u0026n=Vs8lqXSKtRcxNxWi\u0026q=85\u0026s=c8589002b00f65092427267762f5ecce","dark":"https://mintcdn.com/spotflow/Vs8lqXSKtRcxNxWi/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=Vs8lqXSKtRcxNxWi\u0026q=85\u0026s=1be38df1dbce6660b32295863b41265b"},"favicon":"https://mintcdn.com/spotflow/nE3IE_y_v6YYpUhl/favicon.svg?fit=max\u0026auto=format\u0026n=nE3IE_y_v6YYpUhl\u0026q=85\u0026s=e793de3f9421c80c5496cbf72b00755b","api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","javascript","python","go","php","java"]}},"appearance":{"default":"system","strict":false},"background":{"decoration":"grid","color":{"light":"#ffffff","dark":"#0D0D0D"}},"navbar":{"links":[{"icon":"slack","href":"https://join.slack.com/t/spotflowdevel-cki6990/shared_invite/zt-3g5nposk7-0ZeocaWKq4YxxqhIdQ9Y_g","label":"Community"}],"primary":{"type":"button","label":"Get Started","href":"https://app.spotflow.co/"}},"footer":{"socials":{"x":"https://x.com/spotflow_one","linkedin":"https://www.linkedin.com/company/sptflw","website":"https://spotflow.one","slack":"https://join.slack.com/t/spotflowdevel-cki6990/shared_invite/zt-3g5nposk7-0ZeocaWKq4YxxqhIdQ9Y_g","github":"https://github.com/Spotflow-One"}},"fonts":{"family":"IBM Plex Sans"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","cursor"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spotflow","hasAudioNarration":false,"actualSubdomain":"spotflow","customDomains":["docs.spotflow.one"],"gitSource":{"type":"github","owner":"spotflow-one","repo":"new-spotflow-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af7084f5812b32c460f4d30","clientVersion":"0.0.4128","searchFilterCounts":[{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Guides","count":35},{"language":"default","tag":"Get Started","count":16},{"language":"default","tag":"Products","count":12},{"language":"default","tag":"Subscription Plans","count":7},{"language":"default","tag":"Subscriptions","count":7},{"language":"default","tag":"Get started","count":6},{"language":"default","tag":"Bulk Disbursements","count":6},{"language":"default","tag":"Contributions","count":6},{"language":"default","tag":"Welcome","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","content":".welcome-page .card-group{margin:3rem auto 8rem;max-width:70rem;padding-left:1.25rem;padding-right:1.25rem}.welcome-page .card-group .card{padding:1rem}.welcome-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:20vh;text-align:center;margin-top:3rem;margin-bottom:2.5rem}.welcome-hero h1{font-size:2.5rem;font-weight:700;margin-bottom:1rem;line-height:1.2;color:#fff}.welcome-hero p{font-size:1.25rem;max-width:600px;margin:0 auto}.welcome-hero h1{color:rgb(41 42 37 / 1)}.dark .welcome-hero h1{color:rgb(255 255 255 / 1)}.welcome-hero p{color:rgb(83 85 79 / 1)}.dark .welcome-hero p{color:rgb(162 164 158 / 1)}.color{color:red!important}.sf-v{padding:24px;border-radius:12px;border:1px solid #e4e4e7;background:#fafafa}.dark .sf-v{border-color:#27272a;background:#121212}.sf-v-label{display:block;margin:16px 0 6px;font-size:14px;font-weight:600}.sf-v-label:first-child{margin-top:0}.sf-v-field{width:100%;padding:9px 12px;border-radius:8px;font-size:13px;font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;border:1px solid #d4d4d8;background:#ffffff;color:#09090b}.dark .sf-v-field{border-color:#3f3f46;background:#0d0d0d;color:#f4f4f5}.sf-v-field:focus{outline:2px solid #1326fd;outline-offset:1px}.dark .sf-v-field:focus{outline-color:#6fa0ff}.sf-v-btn{margin-top:20px;height:40px;padding:0 20px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;color:#fff;background:#1326fd;border:0}.sf-v-btn:hover{background:#0f1fd6}.sf-v-result{margin-top:16px;font-size:14px;display:flex;flex-direction:column;gap:8px}.sf-v-ok{color:#16a34a;font-weight:600}.dark .sf-v-ok{color:#4ade80}.sf-v-error{margin-top:16px;color:#dc2626;font-weight:600}.dark .sf-v-error{color:#f87171}"}],"page":{"pagePath":"api-reference/pagination","slug":"/api-reference/pagination","pageMetadata":{"title":"Pagination","description":"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.","icon":"list-ol","href":"/api-reference/pagination"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`List endpoints return results one page at a time. Choose the page and its size with query parameters, and the response tells you how many pages there are.`}),`\n`,_jsx(CodeBlock,{filename:`Paginated request`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.spotflow.co/api/v1/payments?page=0\u0026size=10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` -H `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization: Bearer sk_test_...\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`Paginated response`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pageNumber\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pageSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalElements\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`page`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`0`})}),_jsxs(_components.td,{children:[`The page to return. Pages start at `,_jsx(_components.strong,{children:`0`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`size`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`10`})}),_jsx(_components.td,{children:`How many items per page`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response-attributes`,children:`Response attributes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Attribute`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`content`})}),_jsx(_components.td,{children:`The items on this page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pageNumber`})}),_jsx(_components.td,{children:`The page you’re on, starting at 0`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`pageSize`})}),_jsx(_components.td,{children:`The number of items per page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`totalElements`})}),_jsx(_components.td,{children:`The number of items across all pages`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`totalPages`})}),_jsx(_components.td,{children:`The number of pages`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`You’ve reached the last page when `,_jsx(_components.code,{children:`pageNumber + 1`}),` equals `,_jsx(_components.code,{children:`totalPages`}),`. Don’t assume every record comes back in one response.`]}),`\n`,_jsx(Heading,{level:`2`,id:`paginated-endpoints`,children:`Paginated endpoints`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/payments/list-collection`,children:`List payments`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/subscriptions/list-subscriptions`,children:`List subscriptions`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/subscription-plans/list-single-plan`,children:`List subscription plans`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/static-account/list-spotflow-account`,children:`List static virtual accounts`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/balances/main-account-balance`,children:`Balances`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/transfer-api/bulk-transfers`,children:`List bulk transfers`}),` and `,_jsx(_components.a,{href:`/api-reference/transfer-api/bulk-transfers-by-id`,children:`transfers in a bulk transfer`})]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Many list endpoints also take filters, such as `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`currency`}),`, `,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),`. Each endpoint page lists the filters it accepts.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Pagination","description":"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.","icon":"list-ol","href":"/api-reference/pagination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Query parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response attributes","slug":"response-attributes","depth":2,"children":[]},{"title":"Paginated endpoints","slug":"paginated-endpoints","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"spotflow","siteName":"Spotflow Documentation","title":"Pagination - Spotflow Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T12:53:41.977Z","originalFileLocation":"api-reference/pagination.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spotflow Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pagination - Spotflow Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spotflow Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spotflow.one/api-reference/pagination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spotflow.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Pagination\u0026amp;description=How+to+page+through+lists+of+payments%2C+subscriptions%2C+plans%2C+accounts%2C+balances+and+bulk+transfers.\u0026amp;theme=f895856a99d7eb958fb6667a\u0026amp;signature=3f65a56e0726b486b7e852ae6b768a76d50f44641dd6c32990152c27506dfc93\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pagination - Spotflow Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spotflow.mintlify.site/_mintlify/api/og/v2?division=Get+started\u0026amp;title=Pagination\u0026amp;description=How+to+page+through+lists+of+payments%2C+subscriptions%2C+plans%2C+accounts%2C+balances+and+bulk+transfers.\u0026amp;theme=f895856a99d7eb958fb6667a\u0026amp;signature=3f65a56e0726b486b7e852ae6b768a76d50f44641dd6c32990152c27506dfc93\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/spotflow/valL1ybBLFV-Bj3r/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spotflow Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1326FD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spotflow.one/api-reference/pagination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/pagination.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spotflow.one/#organization\",\"name\":\"Spotflow Documentation\",\"url\":\"https://docs.spotflow.one\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spotflow/Vs8lqXSKtRcxNxWi/logo/logo-light.png?fit=max\u0026auto=format\u0026n=Vs8lqXSKtRcxNxWi\u0026q=85\u0026s=c8589002b00f65092427267762f5ecce\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spotflow.one#website\",\"name\":\"Spotflow Documentation\",\"url\":\"https://docs.spotflow.one\",\"publisher\":{\"@id\":\"https://docs.spotflow.one/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spotflow.one/api-reference/pagination#webpage\",\"url\":\"https://docs.spotflow.one/api-reference/pagination\",\"name\":\"Pagination\",\"description\":\"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.\",\"dateModified\":\"2026-11-13T12:53:41.977Z\",\"isPartOf\":{\"@id\":\"https://docs.spotflow.one#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spotflow.one/api-reference/pagination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spotflow.one/api-reference/pagination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.spotflow.one/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pagination\",\"item\":\"https://docs.spotflow.one/api-reference/pagination\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.spotflow.one/api-reference/pagination#article\",\"headline\":\"Pagination\",\"name\":\"Pagination\",\"description\":\"How to page through lists of payments, subscriptions, plans, accounts, balances and bulk transfers.\",\"url\":\"https://docs.spotflow.one/api-reference/pagination\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spotflow.one/api-reference/pagination#webpage\"},\"dateModified\":\"2026-11-13T12:53:41.977Z\",\"publisher\":{\"@id\":\"https://docs.spotflow.one/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spotflow.one#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spotflow Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Spotflow Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/pagination.md","siteName":"Spotflow Documentation","nav":{"global":null,"tabs":[{"tab":"Get Started","icon":"play","pages":[{"title":"Get Started","href":""}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/developer-resources/introduction"}]},{"tab":"API Reference","icon":"code-branch","groups":[{"group":"Get started","icon":"code","pages":[{"title":"Introduction","sidebarTitle":"Introduction","icon":"code","href":"/api-reference/introduction"},{"title":"Authentication","icon":"lock","href":"/api-reference/authentication"},{"title":"Error Codes","icon":"radiation","href":"/api-reference/error-codes"},{"title":"Rate Limits","icon":"gauge-high","href":"/api-reference/rate-limits"},{"title":"Idempotency","description":"How to retry requests safely without creating duplicate payments or disbursements.","icon":"repeat","href":"/api-reference/idempotency"},{"title":"Pagination","icon":"list-ol","href":"/api-reference/pagination"}]},{"group":"Payment Collections","icon":"money-bill","pages":[{"openapi":"post /payments/initialize","title":"Initialize Payment","sidebarTitle":"Initialize Payment","description":"This is Spotflow's Redirect Checkout. Initiate a payment request to generate a unique payment reference, payment code and checkout URL for your customers","href":"/api-reference/payments/initialize-collection"},{"openapi":"post /payments/authorize","title":"Authorize Payment","sidebarTitle":"Authorize Payment","href":"/api-reference/payments/authorize-collection"},{"openapi":"get /payments/{payment-id}","title":"Get Payment","sidebarTitle":"Get Payment","href":"/api-reference/payments/fetch-collection"},{"openapi":"get /payments","title":"List Payments","sidebarTitle":"List Payments","href":"/api-reference/payments/list-collection"},{"openapi":"get /payments/verify","title":"Verify Payment","sidebarTitle":"Verify Payment","href":"/api-reference/payments/verify-collection"}]},{"group":"Tax Configuration","icon":"wrench","pages":[{"openapi":"openapi.json GET /merchant/tax-status","title":"Check Tax Activation Status","href":"/api-reference/tax-collections-configuration/get-tax-status"},{"openapi":"openapi.json GET /tax-configurations","title":"Get Tax Settings by Country/Region","href":"/api-reference/tax-collections-configuration/get-tax-region"},{"openapi":"openapi.json POST /tax-configurations","title":"Create a New Tax Setting","href":"/api-reference/tax-collections-configuration/create-tax"},{"openapi":"openapi.json PUT /tax-configurations/{id}","title":"Edit Tax Details","href":"/api-reference/tax-collections-configuration/update-tax"},{"openapi":"openapi.json PUT /tax-configurations/{id}/status","title":"Start or Stop Charging a Tax","href":"/api-reference/tax-collections-configuration/toggle-tax-status"}]},{"group":"Subscription Plans","icon":"receipt","pages":[{"openapi":"openapi.json POST /plans/{plan-id}/activate","title":"Activate Plan","href":"/api-reference/subscription-plans/activate-plan"},{"openapi":"openapi.json POST /plans/{plan-id}/cancel","title":"Cancel Plan","href":"/api-reference/subscription-plans/cancel-plan"},{"openapi":"openapi.json POST /bulk-plans","title":"Create Bulk Plans","href":"/api-reference/subscription-plans/create-bulk-plan"},{"openapi":"openapi.json POST /plans","title":"Create Single Plan","href":"/api-reference/subscription-plans/create-single-plan"},{"openapi":"openapi.json GET /plans","title":"Get All Plans","href":"/api-reference/subscription-plans/fetch-plan"},{"openapi":"openapi.json GET /plans/{plan-id}","title":"Get Single Plan","href":"/api-reference/subscription-plans/list-single-plan"},{"openapi":"openapi.json POST /plans/{plan-id}","title":"Update Plan","href":"/api-reference/subscription-plans/update-plan"}]},{"group":"Subscriptions","icon":"repeat","pages":[{"openapi":"openapi.json GET /subscriptions","title":"Get All Subscriptions","href":"/api-reference/subscriptions/list-subscriptions"},{"openapi":"openapi.json GET /subscriptions/{subscription-id}/payment-method","title":"Get A Subscription Payment Method","href":"/api-reference/subscriptions/get-subscription-payment-method"},{"openapi":"openapi.json GET /plans/{plan-id}/subscriptions","title":"Subscriptions by plan","href":"/api-reference/subscriptions/subscription-by-plan"},{"openapi":"openapi.json GET /subscriptions/{subscription-id}","title":"Get Subscriptions Details","href":"/api-reference/subscriptions/subscription-details"},{"openapi":"openapi.json POST /subscriptions/{subscription-id}/activate","title":"Activate Subscription","href":"/api-reference/subscriptions/subscription-activate"},{"openapi":"openapi.json POST /subscriptions/{subscription-id}/cancel","title":"Cancel Subscription","sidebarTitle":"Cancel Subscription","href":"/api-reference/subscriptions/subscription-cancel"},{"openapi":"openapi.json PUT /subscriptions/{subscription-id}/payment-method","title":"Update A Subscription Payment Method","href":"/api-reference/subscriptions/update-subscription-payment-method"}]},{"group":"Spotflow Static Virtual Accounts","icon":"wallet","pages":[{"openapi":"openapi.json GET /accounts","title":"Get All Spotflow Static Virtual Accounts","href":"/api-reference/static-account/list-spotflow-account"},{"openapi":"openapi.json GET /accounts/{id}","title":"Get Spotflow Static Virtual Account By ID","sidebarTitle":"Get Static Account By ID","href":"/api-reference/static-account/spotflow-account-id"},{"openapi":"openapi.json DELETE /accounts/{id}/deactivate","title":"Deactivate Spotflow Static Virtual Accounts","href":"/api-reference/static-account/deactivate-account"},{"openapi":"openapi.json POST /accounts","title":"Create Spotflow Static Virtual Accounts","href":"/api-reference/static-account/create-account"}]},{"group":"Dynamic Virtual Accounts","icon":"vault","pages":[{"openapi":"openapi.json POST /virtual-accounts/temporary","title":"Create Dynamic Virtual Account","href":"/api-reference/dynamic-accounts/create-dynamic-account"},{"openapi":"openapi.json GET /virtual-accounts/{id}","title":"Get Dynamic Virtual Account by ID","href":"/api-reference/dynamic-accounts/dynamic-account-id"},{"openapi":"openapi.json GET /virtual-accounts","title":"Get All Dynamic Virtual Accounts","href":"/api-reference/dynamic-accounts/list-dynamic-account"}]},{"group":"Balances","icon":"equals","pages":[{"openapi":"openapi.json GET /balances","title":"Get Main Spotflow Account Balance","href":"/api-reference/balances/main-account-balance"},{"openapi":"openapi.json GET /balances/accounts/{accountNumber}/balance","title":"Get Spotflow Accounts Balance","href":"/api-reference/balances/account-balance"}]},{"group":"Single Disbursements","icon":"paper-plane","pages":[{"openapi":"openapi.json POST /transfers","title":"Create Single Bank Disbursement","sidebarTitle":"Create Single Disbursement","href":"/api-reference/transfer-api/create-single-transfer"},{"openapi":"openapi.json GET /transfers/banks/{currency}","title":"Get All Banks","href":"/api-reference/transfer-api/list-banks"},{"openapi":"openapi.json GET /transfers/resolve-account","title":"Resolve Bank Account","href":"/api-reference/transfer-api/transfer-resolve-account"},{"openapi":"openapi.json GET /transfers/reference/{reference}","title":"Get Transfer By Reference","href":"/api-reference/transfer-api/transfer-by-reference"}]},{"group":"Bulk Disbursements","icon":"money-check","pages":[{"openapi":"openapi.json POST /transfers/bulk","title":"Create Bulk Disbursement","href":"/api-reference/transfer-api/create-bulk-transfer"},{"openapi":"openapi.json GET /transfers/bulk/{id}","title":"Get Bulk Disbursement By ID","href":"/api-reference/transfer-api/bulk-transfer-id"},{"openapi":"openapi.json GET /transfers/bulk/categories","title":"Get Bulk Disbursement By Its Categories","sidebarTitle":"Get Bulk Disbursement by Categories","href":"/api-reference/transfer-api/bulk-transfer-categories"},{"openapi":"openapi.json GET /transfers/bulk","title":"Get All Bulk Disbursements","href":"/api-reference/transfer-api/bulk-transfers"},{"openapi":"openapi.json GET /transfers/bulk/{id}/transfers","title":"Get Bulk Disbursements By ID","href":"/api-reference/transfer-api/bulk-transfers-by-id"},{"openapi":"openapi.json POST /transfers/bulk/validate","title":"Validate Bulk Disbursements File","sidebarTitle":"Validate Bulk Disbursements","href":"/api-reference/transfer-api/validate-bulk-transfer"}]}]},{"tab":"Changelog","icon":"tags","pages":[{"title":"Changelog","href":"/changelog/introduction"}]},{"tab":"Contributions","icon":"people-group","pages":[{"title":"Contributions","href":"/contributions/overview"}]}]},"basePath":"","title":"Pagination - Spotflow Documentation","buildId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","deploymentId":"dpl_5tKr6cUUeuVJdEZ9JAEY3h4soMJ8","dynamics":[],"chunks":[]}