Get account summary
Returns wallet balance, current API plan, and usage stats.
curl -X GET \ 'https://visualtrinitystudio.xyz/wp-json/nexotp/v1/account' \ -H 'X-NexOTP-API-Key: YOUR_API_KEY'
$url = 'https://visualtrinitystudio.xyz/wp-json/nexotp/v1/account'; $headers = [ 'X-NexOTP-API-Key: YOUR_API_KEY' ]; $ch = curl_init($url); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); echo curl_exec($ch); curl_close($ch);
import requests
url = 'https://visualtrinitystudio.xyz/wp-json/nexotp/v1/account'
headers = {
'X-NexOTP-API-Key': 'YOUR_API_KEY'
}
response = requests.get(url, headers=headers)
print(response.json())
const url = 'https://visualtrinitystudio.xyz/wp-json/nexotp/v1/account';
const options = {
method: 'GET',
headers: {
'X-NexOTP-API-Key': 'YOUR_API_KEY'
}
};
fetch(url, options)
.then((res) => res.json())
.then((json) => console.log(json));