Xenodia Docs
API ReferenceGenerated Reference

Read available and reserved credits

GET
/v1/credits/balance

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.xenodia.xyz/v1/credits/balance"
{
  "account_id": 0,
  "balance_micro_usdc": 0,
  "locked_micro_usdc": 0,
  "available_micro_usdc": 0,
  "lifetime_topup": 0,
  "lifetime_usage": 0,
  "billing_mode": "string",
  "layers": [
    {}
  ],
  "payment": {}
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}
{
  "error": "string",
  "message": "string",
  "request_id": "string"
}