curl --request GET \
--url https://api.altostrat.io/workspaces/{workspaceId}/billing-accounts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "cus_a1b2c3d4e5f6g7h8",
"workspace_id": "ws_a1b2c3d4e5f6g7h8",
"name": "ACME Corp Billing",
"email": "[email protected]",
"phone": "+15551234567",
"description": "For US-based operations",
"currency": "usd",
"address": {
"country": "US",
"line1": "123 Main Street",
"line2": "Suite 456",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105"
},
"created_at": "2025-10-29T00:40:06.000000Z",
"updated_at": "2025-10-29T00:40:06.000000Z"
}
],
"has_more": false
}Returns a list of billing accounts associated with a workspace.
curl --request GET \
--url https://api.altostrat.io/workspaces/{workspaceId}/billing-accounts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "cus_a1b2c3d4e5f6g7h8",
"workspace_id": "ws_a1b2c3d4e5f6g7h8",
"name": "ACME Corp Billing",
"email": "[email protected]",
"phone": "+15551234567",
"description": "For US-based operations",
"currency": "usd",
"address": {
"country": "US",
"line1": "123 Main Street",
"line2": "Suite 456",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105"
},
"created_at": "2025-10-29T00:40:06.000000Z",
"updated_at": "2025-10-29T00:40:06.000000Z"
}
],
"has_more": false
}Enter your JWT in the format: Bearer {token}
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
A list of billing account objects.
Show child attributes
Unique identifier for the billing account (Stripe Customer ID), prefixed with cus_.
"cus_a1b2c3d4e5f6g7h8"
The ID of the workspace this billing account belongs to.
"ws_a1b2c3d4e5f6g7h8"
The name of the billing account.
"ACME Corp Billing"
The primary billing email address.
The billing contact phone number.
"+15551234567"
An optional description for the billing account.
"For US-based operations"
The three-letter ISO currency code for the billing account.
usd, zar, eur, gbp, aud "usd"
Show child attributes
Two-letter country code (ISO 3166-1 alpha-2).
"US"
Address line 1 (e.g., street, PO Box, or company name).
"123 Main Street"
Address line 2 (e.g., apartment, suite, unit, or building).
"Suite 456"
City, district, suburb, town, or village.
"San Francisco"
State, county, province, or region.
"CA"
ZIP or postal code.
"94105"
The timestamp when the billing account was created.
"2025-10-29T00:40:06.000000Z"
The timestamp when the billing account was last updated.
"2025-10-29T00:40:06.000000Z"
false
Was this page helpful?