Enable pay-as-you-go

Enable pay-as-you-go in one flow: save a card, make an initial credit top-up, and optionally turn on auto-top-up (returns a PaymentIntent client secret).

post/v1/billing/payg/enable

Request

  • Base URL: https://api.turos.app
  • URL: https://api.turos.app/v1/billing/payg/enable
  • Auth: HTTP bearer

Request body

amountUsdnumber required

Initial prepaid credit amount to purchase while enabling PAYG.

autoTopupThresholdCentsinteger

Optional low-balance threshold, in cents, that enables auto-top-up after payment succeeds.

autoTopupAmountCentsinteger

Optional refill amount, in cents, used with autoTopupThresholdCents.

Response

PAYG enable PaymentIntent created.

object'payg_enable_intent' required
clientSecretstring required
paymentIntentIdstring required
breakdownobject required
requestIdstring required

Changes

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