Skip to content
Ten Digit

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-validity

Parameters

LicenseNumberstringrequiredYour license number, shown on the Developer API page.
APIKeystringrequiredYour 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"
}
validbooleanAlways true when the request is authenticated.
statusstringAccount status, for example ACTIVE or ONBOARDING.
validUntilstringWhen the current plan ends (ISO date), or null.
licenseNumberstringThe license the request was made with.