Get database billing account

Gets the billing account that owns a given database.



Successful response


id integer The id of the billing account. required
name string The name of this billing account. required
trial boolean True if this is a trial account. required
expirationTime float The expiration time of the account, in milliseconds since 1970-01-01 required
userLimit integer The user limit associated with this billing account. required
userCount integer The current number of unique users invited to any databases owned by this billing account. This count may take a few minutes to update after a change to user permissions are made. required
databaseCount integer The current number of databases owned by this billing account. required
status string Values:
The account is active and in good standing.
The account is suspended due to non-payment. Databases are unchanged, but cannot be accessed.
The account has been closed and all databases have been deleted.
planName string The name of the plan that the billing account is subscribed to. required
automaticCollection boolean True if payment for this billing account is automatically collected via credit card upon expiry. required

Error responses

Status Code Error Code Description
401 AUTHENTICATION_REQUIRED The request must be authenticated
403 FORBIDDEN Permission denied
404 NOT_FOUND The resource could not be found
410 DELETED The resource has been deleted


curl -u anything:YOUR_API_TOKEN \
Next item
Get database problems