---
search:
  tags:
    - billing
    - PUT
seo:
  description: >-
    Auto top-up charges amount_eur of credit (plus VAT, as for a top-up) to a
    card each… Reference for the PUT /v1/billing/auto-topup endpoint in the
    pols.so API.
sidebar:
  label: Switch auto top-up on or off, or change its settings
  badge: PUT
title: Switch auto top-up on or off, or change its settings
type: openapi-operation
---
Auto top-up charges `amount_eur` of credit (plus VAT, as for a
top-up) to a card each time the org's available credit
(`/v1/balance`) falls below `threshold_eur`, at most `cap_eur` of
credit per calendar month. The credit is checked about every
minute while a sandbox of the org runs or is in standby. One
automatic top-up is open at a time. Each is a top-up
(`listTopUps`, `automatic` true) with its invoice, confirmed by
email. A charge that fails is not retried: auto top-up is switched
off and the org's owners are emailed. Once the cap is reached,
nothing more is charged that month and the owners are emailed
once. Auto top-up is also switched off by a withdrawal from any
top-up and by a chargeback of an automatic one. Switched off, the
card is forgotten. Owners' and admins' keys only (403 `forbidden`
otherwise).

With `enabled` false it is switched off at once. With `enabled`
true while it is on, the settings change from the next automatic
top-up on, nothing is charged and the owners are emailed.
Otherwise switching it on is a top-up of `amount_eur` on Mollie's
checkout, by credit or debit card only, which stores the card at
Mollie for the later charges: the answer's `setup` is that
top-up, open for payment at its `checkout_url`, and auto top-up
is on once it is paid. It needs what `createTopUp` needs, and
answers as it does (409 `billing_details_required`,
`topup_not_available`, 429 `rate_limited`, 502
`payment_provider_error`). An amount out of bounds is 400
`bad_request`.

A consumer, or a business whose VAT ID VIES has not confirmed,
has a right of withdrawal for 14 days from each top-up, the first
and each automatic one (https://pols.so/withdrawal/), and
switches auto top-up on only with `withdrawal_consent`: "I
expressly request that pols.so start providing the service at
once, before the 14-day withdrawal period ends, for this first
top-up and for each automatic top-up after it, so that I can use
the credit straight away. I understand that each top-up is a
contract of its own, that if I withdraw from a top-up I pay for
the credit from it I have used until then, and that I lose my
right to withdraw from a top-up once all of its credit has been
used." Without it, 409 `withdrawal_consent_required`. The consent
is recorded with the auto top-up and each of its top-ups: when,
its wording and the caller's address.

`PUT /v1/billing/auto-topup`
