billing

Turn auto top-up off. The figures and the card are kept.

A charge already sent still lands as credit, with its 5%. Running sandboxes are never stopped; above 100 at once, new ones wait until fewer than 100 run.

delete/v1/billing/auto-top-up

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/billing/auto-top-up
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.

Response

Success

enabledboolean required

Charging now.

waitingForCardboolean required

Asked to turn on; turns on once a card is saved at saveCardAt.

belownumber nullable required

Charge when credit falls below these dollars.

amountnumber nullable required

Dollars added each time, before tax.

monthlyLimitnumber nullable required

The most added in one calendar month (UTC), in dollars before tax.

thisMonthnumber required

Dollars added this month, a charge in flight included.

cardboolean required

A card is saved for auto top-up.

offReasonstring nullable required

Why it turned itself off: declined, authentication_required (the bank wanted the holder), card_removed, no_address (no billing address for tax), blocked, failed. Null while on.

offAtstring date-time nullable
saveCardAtstring nullable

Where a person saves the card, when none is saved. Null once one is.

Changes

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