Payments

Updates the user's auto top-up settings (Roles: user)

Changed on
put/payment/topup/auto

Request

  • Base URL
    https://api.ludo.ai/api
  • Auth
    API key in header Authorization

Request body

enabledboolean required
thresholdnumber float
creditsinteger

Response

Success

enabledboolean
thresholdnumber float

When available credits (max + extra - current) drop below this, an automatic top-up is attempted

creditsinteger

Fixed credit amount to buy on each automatic top-up (TOPUP bracket pricing)

armedboolean

Hysteresis latch: true while the balance is above the threshold; consumed (set false) by the single attempt per below-threshold episode

Changes