List
List accounts
get/v1/accounts
List account configurations.
Query Parameters
beginstring
optional
Date string in RFC 3339 format. Only entries created after the specified time will be included. UTC time zone.
formatdate-time
endstring
optional
Date string in RFC 3339 format. Only entries created before the specified time will be included. UTC time zone.
formatdate-time
ending_beforestring
optional
A cursor representing an item's token before which a page of results should end. Used to retrieve the previous page of results before this item.
page_sizenumber
optional
Page size (for pagination).
maximum100
minimum1
starting_afterstring
optional
A cursor representing an item's token after which a page of results should begin. Used to retrieve the next page of results after this item.
Returns
dataarray of tokenstringcreatedstringspend_limitobjectstateenumaccount_holderobjectauth_rule_tokensarray of stringcardholder_currencystringverification_addressobjectAccount
has_moreboolean
Whether there are more accounts to be retrieved.
Request example Request
curl https://api.lithic.com/v1/accounts \
-H "Authorization: $LITHIC_API_KEY"
200 Example
{
"data": [
{
"token": "b68b7424-aa69-4cbc-a946-30d90181b621",
"created": "2019-12-27T18:11:19.117Z",
"spend_limit": {
"daily": 10000,
"lifetime": 100000,
"monthly": 40000
},
"state": "ACTIVE",
"account_holder": {
"token": "95e5f1b7-cfd5-4520-aa3c-2451bab8608d",
"business_account_token": "e87db14a-4abf-4901-adad-5d5c9f46aff2",
"email": "jack@lithic.com",
"phone_number": "+12124007676"
},
"auth_rule_tokens": [
"string"
],
"cardholder_currency": "USD",
"verification_address": {
"address1": "124 Old Forest Way",
"city": "Seattle",
"country": "USA",
"postal_code": "98109",
"state": "WA",
"address2": "Apt 21"
}
}
],
"has_more": true
}