All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| statusGet | GET /status | Account status |
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.
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);
});This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json