Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.32 KB

BillingAccountApi.md

File metadata and controls

52 lines (36 loc) · 1.32 KB

NotehubJs.BillingAccountApi

All URIs are relative to https://api.notefile.net

Method HTTP request Description
getBillingAccounts GET /v1/billing-accounts

getBillingAccounts

GetBillingAccounts200Response getBillingAccounts()

Get Billing Accounts accessible by the api_key

Example

import * as NotehubJs from "@blues-inc/notehub-js";
let defaultClient = NotehubJs.ApiClient.instance;
// Configure API key authorization: api_key
let api_key = defaultClient.authentications["api_key"];
api_key.apiKey = "YOUR API KEY";

let apiInstance = new NotehubJs.BillingAccountApi();
apiInstance.getBillingAccounts().then(
  (data) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  },
  (error) => {
    console.error(error);
  }
);

Parameters

This endpoint does not need any parameter.

Return type

GetBillingAccounts200Response

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json