Billing & Account
Account info, subscription/plan, and wallet (prepaid credit balance used for domains, mailboxes, and warmup).
Account
| Method | Path | Description |
|---|---|---|
GET | /v1/api/account | Get account details — credits, plan, webhook URL |
PUT | /v1/api/account/webhook | Update your team’s webhook URL |
curl https://api.infrabox.software/v1/api/account \
-H "Authorization: Bearer YOUR_API_KEY"Response includes credits_remaining, credits_per_domain, credits_per_google_mailbox, the
current plan, and auto-topup configuration — useful to check before a large bulk-provisioning call
so it doesn’t fail partway through on insufficient credits.
Billing
| Method | Path | Description |
|---|---|---|
GET | /v1/api/billing/pricing-plans | List available plans |
GET | /v1/api/billing/subscription | Get current subscription |
POST | /v1/api/billing/subscription/change | Change plan |
POST | /v1/api/billing/subscription/cancel | Cancel subscription |
GET | /v1/api/billing/wallet | Get wallet balance |
POST | /v1/api/billing/wallet | Add credits to the wallet |
GET | /v1/api/billing/wallet/status | Get top-up session status |
GET | /v1/api/billing/wallet/logs | Wallet transaction history |
POST | /v1/api/billing/auto-topup | Configure automatic top-up |
GET | /v1/api/billing/manage | Get a link to the billing portal (invoices, payment method) |
Errors
| Status | Meaning |
|---|---|
400 | Invalid body |
401 | Missing/invalid API key |
402 | Insufficient credits/wallet balance for the requested action |
500 | Internal error |
Last updated on