Turn auto top-up off and/or change its threshold; turning it on or changing its amount requires POST .../setup instead

EXCLUSIVELY turning it off ({"enabled": false}) and/or changing the threshold ({"thresholdHal": ...}) - turning it on or changing the amount only goes through POST .../setup (Stripe Checkout), never a direct write, so a plain enabled: true can never trigger charging on a saved card without a human at it.

patch/v1/credit/auto-topup

Request

  • Base URL: https://volai.cz
  • URL: https://volai.cz/v1/credit/auto-topup
  • Auth: HTTP bearer

Request body

enabledfalse

Only false is accepted here, to turn auto top-up off. Enable it via POST /v1/credit/auto-topup/setup.

thresholdHalinteger

Balance threshold that triggers an automatic top-up, in integer halere excluding VAT. Changing only this value does not charge the card.

Response

Updated auto top-up state

Changes

No recorded changes to this operation across all 1 revision of this API.