Billing Account API
The Notehub device API provides RESTful methods that can be used to GET
data
related to Notehub billling accounts.
Get Billing Accounts This request can be performed using the Notehub API.Notehub
Get an array of Notehub billing accounts associated with a generated authentication token.
Minimum Notehub project-level role required:
curl -X GET
-L 'https://api.notefile.net/v1/billing-accounts'
-H 'Authorization: Bearer <access_token>'
Response Members
uid
string
The globally-unique identifier of the billing account.
name
string
The name of the billing account.
role
The role of the billing account:
billing_admin
Full administrative privileges to purchase credits, setup
auto-recharge and invite members.
billing_manager
Access to invite members is restricted.
project_creator
Access is limited to creating projects within a billing
account.
{
"billing_accounts": [
{
"uid": "00000000-0000-0000-0000-000000000000",
"name": "Jane's Billing Account",
"role": "billing_admin"
},
{
"uid": "00000000-0000-0000-0000-000000000000",
"name": "John's Billing Account",
"role": "billing_manager"
}
]
}