Skip to main content
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.

id
string

Stripe customer ID (cus_...)

workspace_id
string
name
string
Maximum length: 100
email
string<email>
phone
string | null
Maximum length: 50
description
string | null
Maximum length: 200
currency
enum<string>
Available options:
usd,
eur,
gbp,
aud,
zar
address
object
created_at
string<date-time>
updated_at
string<date-time>
I