Skip to content
dhivehigpt-sdk-php / v1

Subscription Balance

Last updated:

View the subscription and credit balance associated with the current API key's team, via $dhivehigpt->balance().

$balance = $dhivehigpt->balance()->get();

echo $balance['billing_period']['balance']; // remaining credits in the current billing period

The subscription and billing_period keys are null when the team has no active subscription.

Documentation
All packages

javaabu/dhivehigpt-sdk-php

Source on GitHub