GET /account/billing/purchase-options
Get credit purchase bounds and the platform fee.
TypeScript SDKThe npm client, generated from the API spec.Python SDKThe PyPI client, sync and async.
| Method | Path |
|---|---|
| GET | /v1/account/billing/purchase-options |
All amounts are integer US cents. The fee is added to the credit amount; it does not reduce the credit granted.
curl "https://api.ellipsis.dev/v1/account/billing/purchase-options" \
-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.purchase_options()
print(result)import { Ellipsis } from '@ellipsis-dev/sdk';
const client = new Ellipsis({
apiKey: process.env.ELLIPSIS_API_TOKEN!,
});
const result = await client.account.billing.purchaseOptions();
console.log(result);Request
Response
Example response · 200
{
"fee_fraction": 0,
"max_amount_cents": 0,
"min_amount_cents": 0,
}