Start adding a card
POST/api/v1/accounts/:account_id/billing/setup_intent
Answers with what the provider's card form needs to collect a card.
The card details never reach this API — they go straight from the browser to the provider, which is why this hands back a secret instead of taking a card number.
Administrators only. Whoever pays the account is who may change it, and an agent has no business seeing the company card — the check is here in the API, not just hidden in the menu.
Request
Responses
- 200
- 403
Success
Not an administrator