List top-ups
Overview
Lists the account's 50 most recent top-ups, newest first, across all teams. Older top-ups are not included. credit contains the same information as the balance endpoint. enabled indicates whether top-ups are available.
Permissions
Requires the account permission billing.read (View billing).
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Response 200
application/jsonThe record, as a JSON object. There is no envelope.
The value of enabled.
The available account credit, formatted for display.
Show child attributesHide child attributes
The value of enabled.
The value of balance.
The three-letter currency code used for monetary amounts.
The value of minimum.
The value of maximum.
The value of presets.
Adding funds needs waives_withdrawal accepted: the billing country is in the EU, the EEA or the UK, or unknown.
Recent top-ups with amounts, statuses and payment details for unpaid entries.
Show child attributesHide child attributes
The uuid UUID.
The value of uuid_short.
The value of status.
One of: pending_payment, credited, expired, cancelled
The status in the customer's words, written once on the enum.
Paid or being paid at a checkout, before the top-up shows it. The dialog reads it to stop a second payment; the list shows only Unpaid or Paid.
The value of billing.
Show child attributesHide child attributes
The customer's service number, once a recurring service exists.
The customer's invoice number, once an invoice exists.
A complete URL where the invoice can be paid.
The checkout UUID, or null when no checkout is available.
The value of checkout_uuid_short.
The current invoice status, or null before an invoice exists.
The amount in the currency shown by currency.
The three-letter currency code used for amount.
How often the service renews, or null for a one-time charge.
When payment is due before the reservation is released.
How many minutes the original payment window allowed.
When the charge was paid, or null while payment is outstanding.
The date and time for credited at, in UTC.
The date and time for cancelled at, in UTC.
The date and time for created at, in UTC.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown