Get Started with the Notecard and Cellular IoT on June 8th !

Blues Developers
Search
Documentation Results
End of results
Community Results
End of results
What’s New
Blues.io
Notehub.io
Shop
Sign In
What’s New
Blues.io
Notehub.io
Shop
×
HomeAPI Reference
Glossary
Datasheets
System Notefiles
Notecard API
Introduction
card Requests
dfu Requests
env Requests
file Requests
hub Requests
note Requests
web Requests
Notehub API
API Introduction
Billing Account APIGet Billing Accounts
Device API
Environment Variable API
Event API
File API
Fleet API
Note API
Product API
Project API
Route API

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

Get an array of Notehub billing accounts associated with a generated authentication token.

Minimum Notehub project-level role required:

Arguments

access_token

string

A Notehub API bearer token.

    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.

    Example Response
    {
      "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"
        }
      ]
    }
    API IntroductionDevice API
    Can we improve this page? Send us feedback
    © 2023 Blues Inc.Terms & ConditionsPrivacy
    blues.ioTwitterLinkedInGitHubHackster.io
    Disconnected
    Notecard Disconnected
    Having trouble connecting?

    Try changing your Micro USB cable as some cables do not support transferring data. If that does not solve your problem, contact us at support@blues.com and we will get you set up with another tool to communicate with the Notecard.

    Advanced Usage

    The help command gives more info.

    Connect a Notecard
    Use USB to connect and start issuing requests from the browser.
    Try Notecard Simulator
    Experiment with Notecard's latest firmware on a Simulator assigned to your free Notehub account.

    Don't have an account? Sign up