GET /account

This endpoint allows you to manage various user details, including contact information and account security.

  • Use the GET method to retrieve your account information.
  • Use the POST method to update your stored contact and billing information.

Retrieves your account information.

Responses

  • 200 application/json

    Your account information.

    Hide response attributes Show response attributes object
    • custid string
    • ima string
    • data object
      Hide data attributes Show data attributes object
      • group string
      • address string
      • city string
      • country string
      • disable_cc string
      • fraudrecord_score string
      • ima string
      • name string
      • payment_method string
      • phone string
      • pin string
      • state string
      • status string
      • zip string
      • account_id string
      • account_lid string
      • address2 string
      • affiliate_dock_description string
      • affiliate_dock_title string
      • affiliate_payment_method string
      • affiliate_paypal string
      • cc string
      • cc_auto string
      • cc_exp string
      • cc_type string
      • cc_whitelist string
      • ccs object
        Hide ccs attribute Show ccs attribute object
        • * object Additional properties
          Hide * attributes Show * attributes object
          • distance string
          • countryMatch string
          • countryCode string
          • freeMail string
          • anonymousProxy string
          • score string
          • binMatch string
          • binCountry string
          • err string
          • proxyScore string
          • ip_region string
          • ip_city string
          • ip_latitude string
          • ip_longitude string
          • binName string
          • ip_isp string
          • ip_org string
          • binNameMatch string
          • binPhoneMatch string
          • binPhone string
          • custPhoneInBillingLoc string
          • highRiskCountry string
          • queriesRemaining string
          • cityPostalMatch string
          • shipCityPostalMatch string
          • maxmindID string
          • ip_asnum string
          • ip_userType string
          • ip_countryConf string
          • ip_regionConf string
          • ip_cityConf string
          • ip_postalCode string
          • ip_postalConf string
          • ip_accuracyRadius string
          • ip_netSpeedCell string
          • ip_metroCode string
          • ip_areaCode string
          • ip_timeZone string
          • ip_regionName string
          • ip_domain string
          • ip_countryName string
          • ip_continentCode string
          • ip_corporateProxy string
          • carderEmail string
          • highRiskUsername string
          • riskScore string
          • explanation string
          • female_name string
      • ccs_added string
      • company string
      • currency string
      • disable_reinstall string
      • disable_reset string
      • email string
      • email_abuse string
      • email_settings object
        Hide email_settings attributes Show email_settings attributes object
        • admin/cc_bad_response string
        • admin/mass_communications.tpl string
      • extra object
        Hide extra attribute Show extra attribute object
        • private_whois string
      • facebook_id string(date-time)
      • facebook_url string
      • firstname string
      • fraudrecord object
        Hide fraudrecord attributes Show fraudrecord attributes object
        • score string
        • count string
        • reliability string
        • code string
      • github_id string
      • github_url string
      • google_id string
      • google_url string
      • innertell_id string
      • lastname string
      • locale string
      • maxmind object Additional properties
        Hide maxmind attributes Show maxmind attributes object
        • distance string
        • countryMatch string
        • countryCode string
        • freeMail string
        • anonymousProxy string
        • score string
        • binMatch string
        • binCountry string
        • err string
        • proxyScore string
        • ip_region string
        • ip_city string
        • ip_latitude string
        • ip_longitude string
        • binName string
        • ip_isp string
        • ip_org string
        • binNameMatch string
        • binPhoneMatch string
        • binPhone string
        • custPhoneInBillingLoc string
        • highRiskCountry string
        • queriesRemaining string
        • cityPostalMatch string
        • shipCityPostalMatch string
        • maxmindID string
        • ip_asnum string
        • ip_userType string
        • ip_countryConf string
        • ip_regionConf string
        • ip_cityConf string
        • ip_postalCode string
        • ip_postalConf string
        • ip_accuracyRadius string
        • ip_netSpeedCell string
        • ip_metroCode string
        • ip_areaCode string
        • ip_timeZone string
        • ip_regionName string
        • ip_domain string
        • ip_countryName string
        • ip_continentCode string
        • ip_corporateProxy string
        • carderEmail string
        • highRiskUsername string
        • riskScore string
        • explanation string
        • female_name string
      • maxmind_score string
      • mb_id string
      • modernbill_id string
      • picture string
      • referrer_coupon string
      • reseller_markup string
      • username string
      • ssh_key string
      • ssh_key_wrapped string
      • api_key string
      • api_key_wrapped string
      • 2fa_google_key string
      • 2fa_google_enabled boolean
      • 2fa_google integer(int32)
      • 2fa_google_split string
      • 2fa_google_qr string
    • ip string
    • oauthproviders object
      Hide oauthproviders attribute Show oauthproviders attribute object
      • * object Additional properties
        Hide * attributes Show * attributes object
        • enabled boolean
        • linked boolean
        • account string
        • url string
    • oauthconfig object
      Hide oauthconfig attributes Show oauthconfig attributes object
      • callback string Required
      • providers object Required
        Hide providers attribute Show providers attribute object
        • * object Additional properties
          Hide * attributes Show * attributes object
          • enabled boolean
          • linked boolean
          • account string
          • url string
    • oauthadapters array[string]
    • limits array[object]
      Hide limits attributes Show limits attributes object
      • start string
      • end string
    • language string
    • countryCurrencies object
      Hide countryCurrencies attribute Show countryCurrencies attribute object
      • * array[string] Additional properties
    • enableLocales boolean
    • enableCurrencies boolean
    • gravatar string
  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /account
curl \
 --request GET 'https://my.interserver.net/apiv2/account' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
{
  "ip": "1.2.3.4",
  "ima": "client",
  "data": {
    "cc": "************1111",
    "ccs": {
      "1": {
        "cc": "************1111",
        "name": "John Doe",
        "cc_exp": "05/2019",
        "country": "US",
        "verified": true
      },
      "5": {
        "cc": "************2222",
        "zip": "11122",
        "city": "Townsville",
        "name": "John Doe",
        "state": "PA",
        "cc_exp": "05/2019",
        "address": "123 Uber St",
        "country": "US",
        "maxmind": {
          "err": "",
          "ip_isp": "PenTeleData",
          "ip_org": "PenTeleData",
          "binName": "state bank of india",
          "ip_city": "Townsville",
          "prepaid": "No",
          "binMatch": "No",
          "binPhone": "",
          "distance": "0",
          "freeMail": "No",
          "ip_asnum": "AS3737 AS-PTD",
          "ip_domain": "ptd.net",
          "ip_region": "PA",
          "maxmindID": "7IVXKOVV",
          "riskScore": 0.25,
          "binCountry": "IN",
          "proxyScore": "0.00",
          "carderEmail": "No",
          "countryCode": "US",
          "female_name": "no",
          "ip_areaCode": "",
          "ip_cityConf": "30",
          "ip_latitude": "40.175",
          "ip_timeZone": "America/New_York",
          "ip_userType": "residential",
          "binNameMatch": "NA",
          "countryMatch": "Yes",
          "ip_longitude": "-76.1817",
          "ip_metroCode": "566",
          "isTransProxy": "No",
          "binPhoneMatch": "NA",
          "ip_postalCode": "11122",
          "ip_postalConf": "30",
          "ip_regionConf": "99",
          "ip_regionName": "Pennsylvania",
          "service_level": "premium",
          "anonymousProxy": "No",
          "ip_countryConf": "99",
          "ip_countryName": "United States",
          "cityPostalMatch": "Yes",
          "highRiskCountry": "No",
          "ip_netSpeedCell": "Cable/DSL",
          "highRiskPassword": "No",
          "highRiskUsername": "No",
          "ip_continentCode": "NA",
          "minfraud_version": "1.3",
          "queriesRemaining": "2764",
          "ip_accuracyRadius": "20",
          "ip_corporateProxy": "No",
          "shipCityPostalMatch": "",
          "custPhoneInBillingLoc": "NotFound"
        },
        "verified": true,
        "maxmind_riskscore": "0.25"
      },
      "6": {
        "cc": "************1111",
        "zip": "11122",
        "city": "Townsville",
        "name": "John Doe",
        "state": "PA",
        "cc_exp": "05/2021",
        "country": "US",
        "maxmind": {
          "err": "",
          "ip_isp": "PenTeleData",
          "ip_org": "PenTeleData",
          "binName": "Bank of No Hope",
          "ip_city": "Townsville",
          "prepaid": "No",
          "binMatch": "Yes",
          "binPhone": "1234561234",
          "distance": "0",
          "freeMail": "No",
          "ip_asnum": "AS3737 AS-PTD",
          "ip_domain": "ptd.net",
          "ip_region": "PA",
          "maxmindID": "AAAAAZZZZZ",
          "riskScore": 0.48,
          "binCountry": "US",
          "proxyScore": "0.00",
          "carderEmail": "No",
          "countryCode": "US",
          "female_name": "no",
          "ip_areaCode": "",
          "ip_cityConf": "30",
          "ip_latitude": "40.175",
          "ip_timeZone": "America/New_York",
          "ip_userType": "residential",
          "binNameMatch": "NA",
          "countryMatch": "Yes",
          "ip_longitude": "-76.1817",
          "ip_metroCode": "566",
          "isTransProxy": "No",
          "binPhoneMatch": "NA",
          "ip_postalCode": "11122",
          "ip_postalConf": "30",
          "ip_regionConf": "99",
          "ip_regionName": "Pennsylvania",
          "service_level": "premium",
          "anonymousProxy": "No",
          "ip_countryConf": "99",
          "ip_countryName": "United States",
          "cityPostalMatch": "Yes",
          "highRiskCountry": "No",
          "ip_netSpeedCell": "Cable/DSL",
          "highRiskPassword": "No",
          "highRiskUsername": "No",
          "ip_continentCode": "NA",
          "minfraud_version": "1.3",
          "queriesRemaining": "2765",
          "ip_accuracyRadius": "20",
          "ip_corporateProxy": "No",
          "shipCityPostalMatch": "",
          "custPhoneInBillingLoc": "NotFound"
        },
        "verified": true,
        "maxmind_riskscore": "0.48"
      }
    },
    "ima": "client",
    "pin": "000000",
    "zip": "11111",
    "city": "Townsville",
    "name": "John Doe",
    "email": "user@domain.com",
    "extra": {
      "private_whois": "0"
    },
    "group": "0",
    "mb_id": "4769",
    "phone": "8675309",
    "state": "PA",
    "cc_exp": "05/2019",
    "locale": "auto",
    "status": "active",
    "address": "112 Uber St.",
    "api_key": "aaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbccccccccccccccccccc",
    "cc_auto": "0",
    "cc_type": "visa",
    "company": "InterServer, Inc.",
    "country": "US",
    "maxmind": {
      "err": "CITY_NOT_FOUND",
      "score": "5.00",
      "ip_isp": "PenTeleData",
      "ip_org": "PenTeleData",
      "binName": "",
      "ip_city": "Townsville",
      "binMatch": "NotFound",
      "binPhone": "",
      "distance": "6146",
      "freeMail": "No",
      "ip_asnum": "AS3737 PenTeleData Inc.",
      "ip_domain": "ptd.net",
      "ip_region": "PA",
      "maxmindID": "HMOCUJP7",
      "riskScore": "4.82",
      "binCountry": "",
      "proxyScore": "0.00",
      "carderEmail": "No",
      "countryCode": "US",
      "explanation": "You should review this order carefully, as it is considered high risk. We suggest you be very cautious about accepting this order. This order is higher risk because the distance between the billing address and the user's actual location is so great. The order is higher risk because the billing country and the country in which the IP address is located don't match",
      "female_name": "no",
      "ip_areaCode": "333",
      "ip_cityConf": "30",
      "ip_latitude": "40.1767",
      "ip_timeZone": "America/New_York",
      "ip_userType": "residential",
      "binNameMatch": "NA",
      "countryMatch": "No",
      "ip_longitude": "-76.4297",
      "ip_metroCode": "566",
      "binPhoneMatch": "NA",
      "ip_postalCode": "11122",
      "ip_postalConf": "30",
      "ip_regionConf": "97",
      "ip_regionName": "Pennsylvania",
      "anonymousProxy": "No",
      "ip_countryConf": "99",
      "ip_countryName": "United States",
      "cityPostalMatch": "",
      "highRiskCountry": "No",
      "ip_netSpeedCell": "Dialup",
      "highRiskUsername": "No",
      "ip_continentCode": "NA",
      "queriesRemaining": "171",
      "ip_accuracyRadius": "10",
      "ip_corporateProxy": "No",
      "shipCityPostalMatch": "",
      "custPhoneInBillingLoc": ""
    },
    "picture": "https://avatars3.githubusercontent.com/u/1364504",
    "ssh_key": "zzzz",
    "address2": "",
    "currency": "USD",
    "lastname": "Doe",
    "username": "user@domain.com",
    "ccs_added": "14",
    "firstname": "John",
    "github_id": "2222222",
    "google_id": "355431342512341234",
    "2fa_google": 1,
    "account_id": "98651",
    "disable_cc": "0",
    "github_url": "https://github.com/user",
    "google_url": "https://plus.google.com/+JohnDoe",
    "account_lid": "user@domain.com",
    "email_abuse": "",
    "facebook_id": "111111111111111",
    "fraudrecord": {
      "code": "zxcvzxcvzxcv",
      "count": "0",
      "score": "0",
      "reliability": "0.0"
    },
    "cc_whitelist": "1",
    "facebook_url": "https://www.facebook.com/111111111111111",
    "innertell_id": "2222222",
    "2fa_google_qr": "data:image/png;base64,zzz",
    "disable_reset": "0",
    "maxmind_score": "0",
    "modernbill_id": "1234",
    "2fa_google_key": "ssssssssssssssssssssssssss",
    "email_settings": {
      "admin/cc_bad_response": "1",
      "admin/mass_communications.tpl": "1"
    },
    "payment_method": "paypal",
    "api_key_wrapped": "aaaaaaaaaaaaaaaaaaaaaaa<br>bbbbbbbbbbbbb<br>ccccccccccccccccccc",
    "referrer_coupon": "detainaffiliatecoupon",
    "reseller_markup": "10",
    "ssh_key_wrapped": "zzzz",
    "2fa_google_split": "zzzz zzzz zzzz zzzz ",
    "affiliate_paypal": "user@domain.com",
    "disable_reinstall": "0",
    "fraudrecord_score": "0",
    "2fa_google_enabled": true,
    "affiliate_dock_title": "Exclusive offer to viewers",
    "affiliate_payment_method": "paypal",
    "affiliate_dock_description": "Use this coupon when placing an order to get the first month of hosting for only 1 penny."
  },
  "custid": "98651",
  "limits": [
    {
      "end": "1.1.1.254",
      "start": "1.1.1.1"
    },
    {
      "end": "2600:387:0:809::1b",
      "start": "2600:387:0:809::1b"
    }
  ],
  "gravatar": "https://avatars3.githubusercontent.com/u/1364504",
  "language": "en-US",
  "oauthconfig": {
    "callback": "https://my.interserver.net/oauth/callback.php",
    "providers": {
      "GitHub": {
        "url": "https://github.com/detain",
        "linked": true,
        "account": "111111111111111111111",
        "enabled": true
      },
      "Google": {
        "url": "https://plus.google.com/+UserName",
        "linked": true,
        "account": "111111111111111111111",
        "enabled": true
      },
      "Twitter": {
        "linked": false,
        "enabled": false
      },
      "Facebook": {
        "url": "https://www.facebook.com/111111111111111111111",
        "linked": true,
        "account": "111111111111111111111",
        "enabled": true
      }
    }
  },
  "enableLocales": true,
  "oauthadapters": [],
  "oauthproviders": [],
  "enableCurrencies": false,
  "countryCurrencies": {
    "BR": [
      "USD",
      "BRL"
    ],
    "CN": [
      "USD"
    ],
    "RU": [
      "USD"
    ]
  }
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}