Skip to main content
GET
/
api
/
v1
/
billing
/
balance
Get current credit balance and charge method
curl --request GET \
  --url http://localhost:3051/api/v1/billing/balance \
  --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 current prepaid credit balance and the charge method in effect for your account. When the balance reaches zero or goes negative, new moderation requests are rejected with 402 PAYMENT_REQUIRED until the balance is topped up.

Authorizations

Authorization
string
header
required

API key from the Stars dashboard

Response

200

Default Response