ModaDocs
Credits

Get credit balance

Returns the current credit balance and plan information for your account. If billing is not enabled, returns plan "unlimited" with null balance.

GET
/credits

Authorization

bearerAuth
AuthorizationBearer <token>

API key from Settings > Developer > REST API. Format: moda_live_...

In: header

Response Body

application/json

curl -X GET "https://api.moda.app/v1/credits"
{
  "credits_remaining": 0,
  "plan": "string",
  "credits_limit": 0,
  "credits_reset_date": "string"
}