API · Dashboard billing
POST /accounts/{id}/auto-topup/card
A Stripe page that saves a card for auto top-up. Charges nothing.
| Request | POST /v1/accounts/{id}/auto-topup/card |
| Operation id | accounts.autoTopup.card |
| Cost | Free |
| Auth | Dashboard session: Authorization: Bearer <session_token>. API keys are refused. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Example: acct_01J…. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Open url to save the card. | |
401 | Not signed in, or an API key was sent. | Error |
403 | Members can look; owners and admins make changes. | Error |
404 | No such account among yours, or card payments are off. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.