Account API
Read your wallet, invoices and monthly statements, notifications and project activity, and talk to support, with a Helipod API key.
The Account API gives your code the account pages of the dashboard: the wallet balance and its transactions, invoices and monthly statements, in-app notifications, the activity of a project, and support tickets. It can also create a wallet top-up (a deposit) for you to pay; it never spends money.
https://api.helipod.io/api/accountAuthenticate with a Helipod API key that has Account API enabled. It is not in a new key's default products: tick it when you create the key.
curl https://api.helipod.io/api/account/wallet \
-H "Authorization: Bearer hel_your_key"Whole account or one project
Money and support belong to your account, not to a project. What a key reaches depends on how it was created:
| Route | Whole-account key | Key limited to one project |
|---|---|---|
| Wallet, transactions, deposits, invoices, statements | Yes | 403 ACCOUNT_KEY_REQUIRED |
| Support tickets | Yes | 403 ACCOUNT_KEY_REQUIRED |
| Notifications | All of yours | Only that project's |
| Project activity | Every project you own | Only that project |
Endpoints
| Method and path | |
|---|---|
| Wallet | GET /wallet, GET /wallet/transactions |
| Deposits | POST /deposits, GET /deposits, GET /deposits/{depositId} |
| Invoices | GET /invoices, GET /invoices/{invoiceId} |
| Statements | GET /statements, GET /statements/{month} |
| Notifications | GET /notifications, GET /notifications/unread-count, POST /notifications/read-all, POST /notifications/{notificationId}/read |
| Activity | GET /projects/{projectId}/activity |
| Tickets | GET POST /tickets, GET /tickets/{ticketId}, POST /tickets/{ticketId}/messages, POST /tickets/{ticketId}/close |
Wallet and invoices
Balance, transactions, invoices and the monthly statement.
Notifications and activity
What the dashboard's bell shows, and who did what in a project.
Tickets
Open a support ticket, reply and close it.
What stays in the dashboard
- Paying.
POST /depositscreates a top-up and its payment link, but the payment itself (QRIS or bank virtual account) is made by a person on the payment page. - API keys and team members. Creating keys and inviting people is done in the dashboard.
Moving money from the wallet to the AI balance is part of the AI API.
Errors
Errors use the shared envelope.
| Status | Code | When |
|---|---|---|
401 | NO_API_KEY, INVALID_API_KEY, API_KEY_EXPIRED | Authentication failed |
403 | SCOPE_NOT_ALLOWED | The key was not given the Account API |
403 | ACCOUNT_KEY_REQUIRED | An account route with a key limited to one project |
400 | INVALID_MONTH | The month is not YYYY-MM |
400 | MONTH_NOT_STARTED | A statement for a month that has not started |
400 | INVALID_AMOUNT | A deposit amount that is not a whole number from 10,000 to 50,000,000 |
400 | INVALID_IDEMPOTENCY_KEY | The Idempotency-Key on a deposit is not 8 to 128 letters, digits or _ . : - |
404 | INVOICE_NOT_FOUND, DEPOSIT_NOT_FOUND, NOTIFICATION_NOT_FOUND, TICKET_NOT_FOUND, PROJECT_NOT_FOUND | Doesn't exist, or the key can't reach it |
409 | DEPOSIT_PENDING | An unpaid deposit exists; details.deposit is it |
409 | INVOICE_NOT_PAID | Invoice details exist only for paid invoices |
409 | TICKET_CLOSED | Replying to a closed ticket |
409 | REQUEST_IN_PROGRESS | A deposit with the same Idempotency-Key is still running |
422 | VALIDATION_ERROR | The body or query does not match the schema |
429 | DEPOSIT_COOLDOWN, DEPOSIT_DAILY_LIMIT | A deposit within 10 minutes of the previous one, or more than 10 in 24 hours. Retry-After says when |
429 | TOO_MANY_TICKETS, RATE_LIMITED | More than 5 new tickets an hour, or too many requests |