List all accounts for a business

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

customer_id
string
required
ID of the Customer (business)

limit
integer
0 to 10000
The maximum number of customer accounts to be returned. Defaults to 12.

starting_after
string
Pass the value from the paging response body in your previous request. If not provided, the zero-indexed starting point will be used. Either starting_after or ending_before may be provided, but not both.

ending_before
string
Pass the value from the paging response body in your previous request. If not provided, the zero-indexed starting point will be used. Either starting_after or ending_before may be provided, but not both.

account_status
string
Comma-separated list of statuses of the accounts to filter by (no whitespaces).

Allowed values: ACTIVE, CLOSED, SUSPENDED

tag_options
string
Comma-separated list of tags to filter by (no whitespaces).

account_substatus
string
Comma-separated list of sub-statuses of the accounts to filter by (no whitespaces).

Allowed values: '', INACTIVITY, INELIGIBLE, DELINQUENT, CHARGE_OFF, GRANTOR_REQUEST, BANKRUPTCY, PAID_OFF, CUSTOMER_REQUEST_PENDING_PAYOFF, GRANTOR_REQUEST_PENDING_PAYOFF, DECEASED, RISK_REVIEW, FRAUD, CUSTOMER_REQUEST, RISK, HARDSHIP/EXEMPTIONS, SETTLEMENT

product_type
string
Comma-separated list of the product types of the accounts to filter by (no whitespaces).

Allowed values: INSTALLMENT, INVENTORY_FINANCING, REVOLVING, LOGISTICS_FINANCING, etc.

search_parameters
string
Searches by name_first, name_last, product_name, doing_business_as or business_legal_name. Based on the input search parameter, the top responses from our API search, up to or less than the provided limit will be returned.

``200 Array of Accounts corresponding to a Customer

``401

Unauthorized.

``403

Forbidden.

``404

Payment Processor not found

``429

Too many requests.

``default

Unexpected Error.

Updated about 1 year ago


Shell Node Ruby PHP Python

Bearer

Base URL
https://Contact sales to enable your sandbox/customers/{customer_id}/accounts


xxxxxxxxxx

curl --request GET \

--url https://contact/%20sales%20to%20enable%20your%20sandbox/customers//accounts \

--header 'accept: application/json'

Click Try It! to start a request and see the response here! Or choose an example:

application/json

``200

Updated about 1 year ago