Skip to main content

Credits TLDs and Version

Get Credits

GET /billing/credits

Returns a documented credit value as a JSON string.

curl --request GET \
--url "https://my.register.ly/modules/addons/DomainsReseller/api/index.php/billing/credits" \
--header "username: [email protected]" \
--header "token: <generated-token>"

HTTP 200 success response:

"93.50"

VALIDATION REQUIRED: Confirm the currency, whether this is account balance or available credit, precision/rounding, negative-balance behavior, and pending-transaction behavior.

Get Available TLDs

GET /tlds

Gets available TLDs.

curl --request GET \
--url "https://my.register.ly/modules/addons/DomainsReseller/api/index.php/tlds" \
--header "username: [email protected]" \
--header "token: <generated-token>"

HTTP 200 success response:

[
".test.ly"
]

The published output example includes a leading dot. The Availability request example omits it.

VALIDATION REQUIRED: Confirm how /tlds values map to tldsToInclude[], and whether membership means globally supported, enabled for the account, or currently orderable.

Get Version

GET /version

Returns a documented version string.

curl --request GET \
--url "https://my.register.ly/modules/addons/DomainsReseller/api/index.php/version" \
--header "username: [email protected]" \
--header "token: <generated-token>"

HTTP 200 success response:

"2.2.3"

VALIDATION REQUIRED: Confirm whether this value identifies the API family, WHMCS module, backend implementation, or build. The OpenAPI document itself identifies the API family as v2.2.