POST
/
?action=resellerdetails
curl --request POST \
  --url 'https://domain.hostwithdothost.com/?action=resellerdetails' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "yourUsername",
  "password": "yourPassword"
}'
{
  "result": "OK",
  "id": -1,
  "active": true,
  "name": "DotHost",
  "balance": "5.0000",
  "currency": "USD",
  "symbol": "$",
  "balances": [
    {
      "balance": "5.0000",
      "currency": "USD",
      "symbol": "$"
    },
    {
      "balance": "0.0000",
      "currency": "TL",
      "symbol": "TL"
    }
  ]
}

Headers

Content-Type
string

Body

application/json
username
string
required
password
string
required

Response

200
application/json
result
string
required
id
integer
required
active
boolean
required
name
string
required
balance
string
required
currency
string
required
symbol
string
required
balances
object[]
required