cURL
curl --request GET \ --url https://api.example.com/v1/account/credits \ --header 'x-api-key: <x-api-key>'
{ "credit": 123, "free_credit": 123, "referral_credits": 123, "total_credits": 123 }
Retrieves the current API credit balance for the authenticated user.
Successful Response
Regular credit balance.
Free credit balance.
Referral credits balance.
Total available credits (sum of all credit types).