cURL
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.
Enter your JWT in the format: Bearer {token}
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
A list of billing account objects.
Show child attributes
false
Was this page helpful?