Account

Change auto-refill, or turn it on or off. Turning on needs a saved card

Only for a person signed in on the website.

patch/api/v1/auto-refill

Request

  • Base URL: https://audo.ai
  • URL: https://audo.ai/api/v1/auto-refill
  • Auth: API key in cookie __Secure-audo.session_token

Request body

enabledboolean
thresholdCentsinteger
amountCentsinteger
monthlyCapCentsinteger

Response

OK

enabledboolean required
thresholdCentsinteger required

Refill when the available balance drops below this, in US cents

amountCentsinteger required

What each refill adds to the balance, in US cents (tax, if any, is charged on top)

monthlyCapCentsinteger required

The most charged for refills in a calendar month (UTC), in US cents before tax

spentThisMonthCentsinteger required

Charged for refills this calendar month, in US cents before tax

disabledReason'card_declined' | 'authentication_required' | 'payment_failed' | 'disputed' nullable required

Why auto-refill turned itself off, or null: card_declined, authentication_required, payment_failed, or disputed

setupUrlstring required

Where a person turns auto-refill on or changes it

Changes

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