Account Billing
Returns billing information for the authenticated account. Use the expand
parameter to include additional details.
Expandable Fields:
credits— Current credit balance and currency
Common Use Cases:
- Monitor available credit balance programmatically
- Display balance in custom dashboards
Required permissions: billing:usage:read. Key presets that include them: BILLING, READONLY, FULL. See key permissions.
GET
Account Billing
Authorizations
Key on the READONLY preset, or any key whose permissions include the ones this API lists. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY
Query Parameters
Data to include in the response. Use 'credits' to include current credit balance.
Example:
"credits"