Get account info
URL
GET https://api.complycube.com/v1/accountInfo
Retrieves account info.
Headers
Name
Type
Description
Content-Type*
string
The content-type must always be set to application/json.
Authorization*
string
The API live or test key.
Example request
curl -X GET https://api.complycube.com/v1/accountInfo \
-H 'Authorization: <YOUR_API_KEY>' \
-H 'Content-Type: application/json'const { ComplyCube } = require("@complycube/api");
const complycube = new ComplyCube({ apiKey: "<YOUR_API_KEY>" });
const accountInfo = await complycube.accountInfo.get();from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
account_info = ccapi.account_info.get()use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$accountInfo = $ccapi->accountInfo()->get();using ComplyCube.Net;
using ComplyCube.Net.Resources.Clients;
var accinfo = new AccountInfoApi(new ComplyCubeClient("<YOUR_API_KEY>"));
var result = accountInfoApi.GetAsync().Result;Example response
{
"username": "[email protected]",
"plan": "Essentials Plan",
"remainingCredit": 8000
}Last updated
Was this helpful?