GET /account/billing/credit-grants
List your confirmed credit grants and reversals.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| GET | /v1/account/billing/credit-grants |
Returns only your account's grants. The total is before usage; /v1/account/budget reports the available balance.
curl "https://api.ellipsis.dev/v1/account/billing/credit-grants" \
-H "Authorization: Bearer $ELLIPSIS_API_KEY"import os
from ellipsis import Ellipsis
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
result = client.account.billing.grants()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.account.billing.grants();
console.log(result);Request
Response
Example response · 200
{
"total_granted_cents": 0
}