Skip to main content

Get billing account

Get a billing account by ID.

Path Parameters
    org_id string required
    id string required

    ID of the billing account to get

Query Parameters
    with_payment_methods boolean
    expand string[]
Responses

A successful response.


Schema
    billing_account object
    id string
    org_id string
    name string
    email string
    phone string
    address object
    line1 string
    line2 string
    city string
    state string
    postal_code string
    country string
    provider_id string
    provider string
    currency string
    state string
    tax_data object[]
  • Array [
  • type tax type like "vat", "gst", "sales_tax" or if it's provider specific us_ein, uk_vat, in_gst, etc
    id unique identifier provided by the tax agency
  • ]
  • metadata object
    created_at date-time
    updated_at date-time
    organization object
    id string
    name string
    title string
    metadata object
    created_at date-time

    The time the organization was created.

    updated_at date-time

    The time the organization was last updated.

    state string

    The state of the organization (enabled or disabled).

    avatar string

    The base64 encoded image string of the organization avatar. Should be less than 2MB.

    payment_methods object[]
  • Array [
  • id string
    customer_id string
    provider_id string
    type string
    card_brand string
    card_last4 string
    card_expiry_month int64
    card_expiry_year int64
    metadata object
    created_at date-time
  • ]
Loading...