Account

Get auto-refill: when the balance drops below a threshold, Audo charges the saved card for more credits

Read-only with a key or an assistant. Only a person signed in at audo.ai can turn it on, change it, or turn it off, at setupUrl.

get/api/v1/auto-refill

Request

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

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.