- Endpoint:
GET https://api.heygen.com/v3/users/me - Purpose: Returns the authenticated user’s profile (
username,email,first_name,last_name), remaining credits or balance, and billing details. Use this to check your account status or remaining quota before making API calls.
Billing Types
Thebilling_type field tells you which of the three billing objects to read. Only one is populated at a time; the others are null. The reference lists every field.
wallet: prepaid balance, typically for API key auth. Readwallet.remaining_balanceinwallet.currency("usd"or"credits"), plus thewallet.auto_reloadsettings (enabled,threshold_usd,amount_usd).subscription: per-pool credit balances for web-plan subscriptions.subscription.planis the tier ("free","starter","creator","pro","team","enterprise", or"business_plus");subscription.creditsholdspremium_credits(remaining,resets_at) andadd_on_credits(remaining).usage_based: metered billing with an optional spending cap, inusage_based.spending_current_usdandusage_based.spending_cap_usd.

