Billing
Get credit balance
Changed onReturns the organization's current credit balance in USD plus the current plan identifier. Organization is resolved from the API key, so no X-Organization-Id header is required.
get/payment/v1/credits/balance
Request
- Base URLhttps://api.smallest.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Current balance for the caller's organization.
Example response
{
"success": true,
"data": {
"creditBalance": 15,
"planId": "plan_standard"
}
}Changes
- info
endpoint added
- info