Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.65 KB

File metadata and controls

54 lines (33 loc) · 1.65 KB

invoicetronicSdk.StatusApi

All URIs are relative to http://localhost

Method HTTP request Description
statusGet GET /status Account status

statusGet

Status statusGet()

Account status

Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the Dashboard, where you can purchase additional operations and/or signatures. Please note that these values are not enforced if you are on the Sandbox.

Example

import invoicetronicSdk from '@invoicetronic/js-sdk';
let defaultClient = invoicetronicSdk.ApiClient.instance;
// Configure HTTP basic authorization: Basic
let Basic = defaultClient.authentications['Basic'];
Basic.username = 'YOUR USERNAME';
Basic.password = 'YOUR PASSWORD';

let apiInstance = new invoicetronicSdk.StatusApi();
apiInstance.statusGet().then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

Parameters

This endpoint does not need any parameter.

Return type

Status

Authorization

Basic

HTTP request headers

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