Coins

Get my auto-topup settings

Returns the auto-topup toggle state, the chosen coin product, the backend threshold and the last attempt outcome.

get/v1/coins/auto-topup

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/coins/auto-topup
  • Auth
    HTTP bearer

Response

enabledboolean required
thresholdCoinsnumber required

Balance threshold below which auto-topup fires (backend constant, read-only)

lastStatus'success' | 'failed' | 'pending' nullable required
lastAttemptAtstring date-time nullable required
disabledReason'payment_failed' | 'product_unavailable' | 'no_payment_method' nullable required

Why auto-topup was auto-disabled (null while enabled)

Example response

{
  "product": {
    "productId": "100_coins_9_99_eur",
    "currency": "EUR"
  }
}

Changes

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