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 PUT \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/payment-methods/{paymentMethodId} \
--header 'Authorization: Bearer <token>'{
"message": "Default payment method updated"
}Sets a specified payment method as the default for a billing account. This payment method will be used for all future subscription invoices.
curl --request PUT \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/payment-methods/{paymentMethodId} \
--header 'Authorization: Bearer <token>'{
"message": "Default payment method updated"
}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"
The ID of the Stripe Payment Method (pm_...).
"pm_a1b2c3d4e5f6g7h8"
The default payment method was updated successfully.
"Default payment method updated"
Was this page helpful?