> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List all Accounts

Retrieves all Accounts.

## HTTP Request

`GET https://api.vindicia.com/accounts`

## Route (URL) Parameters

None.

## Query Parameters

| Parameter | Default | Description | Required |
| - | - | - | - |
| limit | 20 | A limit on the number of objects to be returned, between 1 and 100. | No |
| starting\_after | none | A cursor for use in pagination. starting\_after is an object **id** that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj\_foo, your subsequent call can include starting\_after=obj\_foo in order to fetch the next page of the list. | No |
| ending\_before | none | A cursor for use in pagination. ending\_before is an object **id** that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj\_bar, your subsequent call can include ending\_before=obj\_bar in order to fetch the previous page of the list. | No |
| created\_before | none | Used to limit results to Accounts created before a specified datetime. | No |
| created\_after | none | Used to limit results to Accounts created after a specified datetime. | No |
| email | none | The email address of the account - if specified, all Accounts with that email address value will be returned. | No |
| payment\_method | none | This method will return a list of accounts that have the specified [Payment Method](Payment_Methods) **id** or **vid** associated with them. | No |
| payment\_method.boleto.fiscal\_number | none | Limit list to accounts with the [Boleto](Boleto_Bancario) payment method and specified Boleto fiscal number. | No |
| payment\_method.carrier\_billing.encoded\_phone\_number | none | Limit list to accounts with the [Carrier Billing](Carrier_Billing_Mobile_Carriers) payment method and specified Carrier Billing encoded phone number. | No |
| payment\_method.carrier\_billing.phone\_number | none | Limit list to accounts with the [Carrier Billing](Carrier_Billing_Mobile_Carriers) payment method and specified Carrier Billing billing phone number. | No |
| payment\_method.credit\_card.account | none | Limit list to accounts with the [Credit Card](Credit_Cards) payment method and specified account number. | No |
| payment\_method.direct\_debit.account | none | Limit list to accounts with the [Direct Debit](Direct_Debit) payment method and specified account number. | No |
| payment\_method.direct\_debit.bank\_sort\_code | none | Limit list to accounts with the [Direct Debit](Direct_Debit) payment method and specified bank sort code. | No |
| payment\_method.ecp.account | none | Limit list to accounts with the [ACH (aka ECP)](ACH_aka_ECP) payment method and specified account number. | No |
| payment\_method.ecp.routing\_number | none | Limit list to accounts with the [ACH (aka ECP)](ACH_aka_ECP) payment method and specified routing number. | No |
| payment\_method.merchant\_accepted\_payment.last\_digits | none | Limit list to accounts with the [Merchant Accepted Payment (Pay By Invoice)](Merchant_Accepted_Payment_Pay_By_Invoice) payment method and specified last digits. | No |
| payment\_method.merchant\_accepted\_payment.payment\_id | none | Limit list to accounts with the [Merchant Accepted Payment (Pay By Invoice)](Merchant_Accepted_Payment_Pay_By_Invoice) payment method and specified payment id. | No |
| payment\_method.paypal.paypal\_email | none | Limit list to accounts with the [PayPal](PayPal_Attributes) payment method and specified email address. | No |

## Accepts

None.

## Returns

JSON - A *list* array with a data property that contains an array of up to limit number of Accounts, starting after the specified starting\_after Account (or ending before the specified ending\_before Account). Each entry in the array is a full [Account](Accounts) object. If no more Accounts are available, the resulting array will be empty. This request should never throw an error.

A *list* of [Account](Accounts) objects matching the query. Also:

* “total\_count”: Integer count of the number of Accounts in the returned list.

* “url”: The query string provided in the request

* “next”: The route (partial URL) to the next Account object (string to select the “next”); included **id** should match that of the last object returned here

* “previous”: The route (partial URL) to the previous Account object (string to select the “previous”); included **id** should match that of the first object returned here

## Example Request

```

curl -X GET \
-u acaff38d462f9430d5cbcbaf:a575771fc679b9de \
"https://api.staging.us-west.vindicia.com/accounts?limit=1&ending_before=cust_1235"

```

**Parent topic:**[Accounts](../topics/Accounts)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.