GET
/
workspaces
/
{workspace_id}
/
billing-accounts
List Billing Accounts
curl --request GET \
  --url https://api.altostrat.io/workspaces/{workspace_id}/billing-accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "workspace_id": "<string>",
      "name": "<string>",
      "email": "jsmith@example.com",
      "phone": "<string>",
      "description": "<string>",
      "currency": "usd",
      "address": {
        "country": "<string>",
        "line1": "<string>",
        "line2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "postal_code": "<string>"
      },
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Auth0 JWT token for user authentication.

Path Parameters

workspace_id
string
required

The unique identifier for the workspace.

Example:

"ws_abc123"

Response

200 - application/json

A list of billing accounts.

The response is of type object.