Skip to main content
GET
/
api
/
v1
/
billing
/
auto-topup
Get current auto top-up configuration
curl --request GET \
  --url http://localhost:3051/api/v1/billing/auto-topup \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.omnifence.ai/llms.txt

Use this file to discover all available pages before exploring further.

Returns your auto top-up configuration. If disabled_reason is non-null, auto top-up was previously disabled by the system — see Auto top-up disabled reasons for how to recover. Requires the billing:write scope.

Response

{
  "enabled": true,
  "threshold_usd": "5.00",
  "amount_usd": "50.00",
  "payment_method_id": "pm_1Q...",
  "currency": null,
  "disabled_reason": null
}

Authorizations

Authorization
string
header
required

API key from the Stars dashboard

Response

200

Default Response