Search Billing Entities
Lists the billing entities in your Stedi account, with an optional tax ID filter and pagination
/billing-entities/searchThis endpoint retrieves a list of the billing entities in your Stedi account, newest first.
You can filter the results by tax ID.
A Stedi API Key for authentication.
Body
The maximum number of elements to return in a page. If not specified, the default is 100.
The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results. Include the same taxId that you sent in the request that returned the token.
^\d{9}$Format: passwordFilter for billing entities with a specific tax ID: an Employer Identification Number (EIN) or a sole proprietor's full Social Security Number (SSN). The tax ID must be exactly 9 digits, without dashes. You send it in the request body, so it doesn't appear in the URL.
If you don't include it, Stedi returns every billing entity in your account.
For example, {"taxId": "123456789"} returns billing entities with the tax ID 123456789.
Response
The billing entities matching the filter criteria.
Array item
Token that you can supply in subsequent requests to retrieve the next page of results. If not returned, there are no more results.
curl --request POST \ --url "https://treasury.us.stedi.com/2025-11-01/billing-entities/search" \ --header "Authorization: <api_key>" \ --header "Content-Type: application/json" \ --data '{ "taxId": "123456789" }'{
"items": [
{
"capabilities": [
"PAYMENT",
"PAYOUT"
],
"createdAt": "2026-03-01T10:00:00Z",
"dbaName": "Acme Family Medicine",
"id": "bil_c2b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c53",
"onboardingAttemptId": "onb_2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
"structure": {
"organization": {
"name": "Acme Medical Group LLC"
}
},
"taxId": {
"ein": "123456789"
},
"updatedAt": "2026-04-04T12:00:00Z"
}
]
}- Request
- pageSize
- pageToken
- taxId
- Response
- 200SearchBillingEntities
- items
- nextPageToken
- 400ValidationException
- 401AuthenticationFailedException
- 403ForbiddenException
- 413ContentTooLargeException
- 429TooManyRequestsException
- 500InternalServerException