API · Dashboard billing
DELETE /accounts/{id}/auto-topup/card
Forget the saved card. Auto top-up turns off.
| |
|---|
| Request | DELETE /v1/accounts/{id}/auto-topup/card |
| Operation id | accounts.autoTopup.removeCard |
| Cost | Free |
| Auth | Dashboard session: Authorization: Bearer <session_token>. API keys are refused. |
| Name | Type | Required | Description |
|---|
id | string | yes | Example: acct_01J…. |
| Status | Meaning | Schema |
|---|
200 | Settings without a card. | AutoTopup |
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. | Error |
| Field | Type | Description |
|---|
enabled | boolean | |
active | boolean | Enabled with a saved card: the next spend below the threshold charges it. |
threshold_credits | integer | |
pack | string | |
monthly_cap_usd | string | |
spent_this_month_usd | string | |
card | object | null | |
disabled_reason | string | null | |
attempts | object[] | |
Errors use one shape everywhere; see Errors for every code and what to do.