API Reference
Domain Name API
- POSTGet Reseller Details
- POSTGet Reseller Balance
- POSTGet TLD List
- POSTSingle Domain Check
- POSTBulk Domain Check
- POSTRegister Domain
- POSTDomain List in a Reseller Account
- POSTGet Registered Domain Details
- POSTGet Domain Contact
- POSTEnable Theft Lock (EPP)
- POSTDisable Theft Lock
- POSTModify Domain Nameserver
- POSTAdd Child Nameserver (Private DNS)
- POSTModify Child Nameserver
- POSTDelete Child Nameserver
- POSTSync Domain From Registry
- POSTTransfer Domain
- POSTCancel Transfer
- POSTModify Privacy (WHOIS)
Server
Auth
Hosting
- GETGet all hosting groups
- POSTCreate a new hosting plan
- DELDelete all hosting groups
- POSTCreate a bulk hosting plan
- GETGet a hosting group by ID
- DELDelete a hosting group by ID
- PATCHupdate a hosting group by id
- GETGet a hosting group by name
- DELDelete a hosting group by name
- POSTCreate a new hosting subgroup
Domain Name API
Get Reseller Balance
POST
/
?action=checkbalance
Copy
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=checkbalance' \
--header 'Content-Type: application/json' \
--data '{
"username": "your_username",
"password": "your_password"
}'
Copy
{
"ErrorCode": 0,
"OperationMessage": "Command completed succesfully.",
"OperationResult": "SUCCESS",
"Balance": "1.02",
"CurrencyId": 2,
"CurrencyInfo": null,
"CurrencyName": "USD",
"CurrencySymbol": "$"
}
Body
application/json
Response
200 - application/json
The response is of type object
.
Was this page helpful?
Copy
curl --request POST \
--url 'https://domain.hostwithdothost.com/?action=checkbalance' \
--header 'Content-Type: application/json' \
--data '{
"username": "your_username",
"password": "your_password"
}'
Copy
{
"ErrorCode": 0,
"OperationMessage": "Command completed succesfully.",
"OperationResult": "SUCCESS",
"Balance": "1.02",
"CurrencyId": 2,
"CurrencyInfo": null,
"CurrencyName": "USD",
"CurrencySymbol": "$"
}
Assistant
Responses are generated using AI and may contain mistakes.