GET
/
workspaces
/
{workspace_id}
/
billing-accounts
/
{billing_account_id}
Get Billing Account
curl --request GET \
  --url https://api.altostrat.io/workspaces/{workspace_id}/billing-accounts/{billing_account_id} \
  --header 'Authorization: Bearer <token>'
{
  "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"

billing_account_id
string
required

The unique identifier for the billing account (Stripe customer ID).

Example:

"cus_abc123"

Response

200 - application/json

Billing account details.

The response is of type object.