Use these endpoints to check your available reseller credits and confirm which API version you are calling. Both take no parameters and authenticate with the username and token headers described in Authentication.

Get credits

Return your available reseller credit balance. GET /billing/credits The balance is returned as a bare JSON string in your account currency. Ordering, renewing, and transferring domains draw down this balance — see Credits and billing.

Get version

Return the API version. This is also the simplest call to confirm your credentials and token are valid. GET /version

Request

The examples below call both endpoints in sequence, reusing one computed token.

Response

GET /billing/credits returns your balance as a JSON string:
GET /version returns the API version as a JSON string: