This endpoint allows you to manage various user details, including contact information and account security.
- Use the
GETmethod to retrieve your account information. - Use the
POSTmethod to update your stored contact and billing information.
Retrieves your account information.
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"
}