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 POST \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/payment-methods \
--header 'Authorization: Bearer <token>'{
"client_secret": "seti_1KV..._secret_...Lgq",
"publishable_key": "pk_test_..."
}Creates a Stripe Setup Intent to collect payment method details for future payments. This returns a client_secret that you can use with Stripe.js or the mobile SDKs to display a payment form. A billing account cannot have more than 5 payment methods.
curl --request POST \
--url https://v1.api.altostrat.io/workspaces/{workspaceId}/billing-accounts/{billingAccountId}/payment-methods \
--header 'Authorization: Bearer <token>'{
"client_secret": "seti_1KV..._secret_...Lgq",
"publishable_key": "pk_test_..."
}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?