List Paystubs
The paystubs endpoint allows you to query for payouts to an end user. Each paystub contains broken out and aggregated earnings information, as well as relevant dates. Paystubs are returned in reverse chronological order by pay_date. This is a paginated endpoint; see how Pinwheel implements pagination <a href='https://docs.pinwheelapi.com/docs/pagination-1' target='_blank'>here</a>.
Request
- Base URLhttps://api.getpinwheel.com/v1
- AuthAPI key in header X-API-SECRET
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
UUID of the payroll account.
Query parameters
Filter for paystubs with pay dates after this date.
Filter for paystubs with pay dates before this date.
Cursor for the page you want to retrieve.
The maximum number of results to return.
Headers
Version identifier specifying how the Pinwheel API should behave. See the Change Management page for more information.
Response
OK
Changes
No recorded changes to this operation across all 14 revisions of this API.