Getting started
Account validity
Check that your license is active before you send.
Returns whether your account can use the API and when it is valid until.
GET
/account-validityParameters
LicenseNumberstringrequired | Your license number, shown on the Developer API page. |
|---|---|
APIKeystringrequired | Your API key, shown on the Developer API page. |
Example request
curl -G "https://console.tendigit.in/api/v1/ext/account-validity" \
--data-urlencode "LicenseNumber=YOUR_LICENSE" \
--data-urlencode "APIKey=YOUR_API_KEY"Response
json
{
"success": true,
"valid": true,
"status": "ACTIVE",
"validUntil": "2026-12-31T00:00:00.000Z",
"licenseNumber": "YOUR_LICENSE"
}validboolean | Always true when the request is authenticated. |
|---|---|
statusstring | Account status, for example ACTIVE or ONBOARDING. |
validUntilstring | When the current plan ends (ISO date), or null. |
licenseNumberstring | The license the request was made with. |