Embedded Pay
Get Withdrawals
GET
Show withdrawals for the pay cycle
Search through all withdrawals across your entire member base, you can filter by member, by cycle or by date range.Documentation Index
Fetch the complete documentation index at: https://docs.onsi.com/llms.txt
Use this file to discover all available pages before exploring further.
Filtering
- Member ID (
memberId): Filter withdrawals by a specific member’s internal Onsi ID. - Pay Cycle ID (
payCycleId): Filter withdrawals by a specific pay cycle ID. - From Date (
fromDate): Start the results after this date (ISO 8601 datetime format). - To Date (
toDate): End the results before this date (ISO 8601 datetime format).
Pagination
We return ahasMore flag to indicate if there are more results to fetch, we do not return a total for this resource.
- Has More (
hasMore): Whether there are more results to fetch.
Authorizations
Query Parameters
Filter by pay cycle
Example:
"pc_<id>"
Filter by member
Example:
"mem_<id>"
Start the results after this date
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$End the results before this date
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Show withdrawals for the pay cycle