Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request GET \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/payment-methods \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "pm_1Kb...",
"type": "card",
"is_default": true,
"brand": "visa",
"last4": "4242",
"exp_month": 12,
"exp_year": 2028,
"name": "Jane Doe",
"bank_name": "StripeBank"
}
],
"has_more": false
}Returns a list of payment methods attached to a billing account.
curl --request GET \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/payment-methods \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "pm_1Kb...",
"type": "card",
"is_default": true,
"brand": "visa",
"last4": "4242",
"exp_month": 12,
"exp_year": 2028,
"name": "Jane Doe",
"bank_name": "StripeBank"
}
],
"has_more": false
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Enter your JWT in the format: Bearer {token}
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The ID of the billing account, which corresponds to a Stripe Customer ID (cus_...).
"cus_a1b2c3d4e5f6g7h8"
Was this page helpful?