On Demand 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.
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 a hasMore
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
End the results before this date
Response
200 - application/json
200
The response is of type object
.
Show withdrawals for the pay cycle