List users
Retrieves a list of users
curl --request GET \
--url https://api.pushcash.com/user/list \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "user_28CJjV7P4Go5PNJvfzghiD",
"tag": "4c8e6b4f",
"status": "enabled",
"name": {
"first": "Alfred",
"last": "Hitchcock"
},
"address": {
"address_line_1": "1609 10th Ave",
"locality": "Bodega Bay",
"administrative_area": "CA",
"postal_code": "94923",
"country": "US"
},
"email": "alfred@imdb.com",
"phone_number": "(555) 681-3485",
"date_of_birth": "1899-08-13",
"government_id": {
"type": "passport",
"last4": "7349"
},
"payment_credentials": [
{
"bank_name": "Space Coast Credit Union",
"account": {
"number_mask": "5978",
"routing": "263177903"
},
"card": {
"primary_account_number_mask": "6018",
"expiration": "2024-05-01"
}
}
],
"limits": {
"daily_limit": 1800000,
"currency": "USD"
},
"created_at": "2023-04-10T05:10:14.532Z"
}
],
"next_cursor": "vjl8vk3l4o8dhsjlzh=="
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The cursor for the next page of results to fetch
Filter users by status. Provide multiple values to retrieve users with any of the provided statuses.
created
, enabled
, suspended
, disabled
Response
Push's identifier assigned to the user
The tag provided in the request to create the user
created
, enabled
, suspended
, disabled
The address of the user's primary location
The first line for the address
The city or township
The state as a two-character code (e.g., CA, WA, TN, AL).
The postal code, following the format XXXXX or XXXXX-XXXX.
The country
The email address for the user
The phone number for the user
The user's date of birth
The type of government-issued ID
drivers_license
, passport
, state_id
, military_id
, ssn
The last 4 characters of the ID or number
The 2-letter code for the state in which the ID was issued. Only required if the ID is a driver's license or state ID.
2
The payment credentials associated with the user
The details for the user's payment credential
The name of the bank associated with the credential
Aggregated sportsbetting spending metrics for the user
The number of sportsbetting deposits for the user
The sum of sportsbetting deposits for the user in cents
The number of sportsbetting withdrawals for the user
The sum of sportsbetting withdrawals for the user in cents
Currency associated with the amount
USD
The date of the earliest transaction from which we aggregated deposits and withdrawals
The aggregation date
Date and time in which user was first created in system
Use cursor for paginating list endpoints in conjunction with the cursor request parameter.
In a response, the value is null if there are no more results to fetch.
curl --request GET \
--url https://api.pushcash.com/user/list \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "user_28CJjV7P4Go5PNJvfzghiD",
"tag": "4c8e6b4f",
"status": "enabled",
"name": {
"first": "Alfred",
"last": "Hitchcock"
},
"address": {
"address_line_1": "1609 10th Ave",
"locality": "Bodega Bay",
"administrative_area": "CA",
"postal_code": "94923",
"country": "US"
},
"email": "alfred@imdb.com",
"phone_number": "(555) 681-3485",
"date_of_birth": "1899-08-13",
"government_id": {
"type": "passport",
"last4": "7349"
},
"payment_credentials": [
{
"bank_name": "Space Coast Credit Union",
"account": {
"number_mask": "5978",
"routing": "263177903"
},
"card": {
"primary_account_number_mask": "6018",
"expiration": "2024-05-01"
}
}
],
"limits": {
"daily_limit": 1800000,
"currency": "USD"
},
"created_at": "2023-04-10T05:10:14.532Z"
}
],
"next_cursor": "vjl8vk3l4o8dhsjlzh=="
}