GET
/
workspaces
/
{workspace_id}
/
billing-accounts
/
{billing_account_id}
/
payment-methods
List Payment Methods
curl --request GET \
  --url https://api.altostrat.io/workspaces/{workspace_id}/billing-accounts/{billing_account_id}/payment-methods \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "type": "card",
      "is_default": true,
      "brand": "<string>",
      "last4": "<string>",
      "exp_month": 123,
      "exp_year": 123,
      "bank_name": "<string>",
      "account_holder_type": "individual",
      "account_type": "checking",
      "name": "<string>"
    }
  ]
}

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

A list of payment methods.

The response is of type object.