billing

Save auto top-up settings

Save auto top-up settings after card is confirmed via SetupIntent. Validates threshold/amount constraints and verifies payment method with Stripe.

post/v1/billing/autotopup

Request

  • Base URL: https://api.slideforge.dev
  • URL: https://api.slideforge.dev/v1/billing/autotopup
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

enabledboolean
thresholdnumber required
amountnumber required
payment_method_idstring nullable

Response

Settings saved

unknown required

Changes

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