Check Geolocation
Check whether an IP address is in an allowed geolocation for your operator account. Use this to pre-check a customer's location before presenting payment UI, avoiding a poor experience where the customer fills out a form only to be denied at transaction time.
The IP's location is checked against your location rules, and the connection is checked for VPNs, proxies, Tor, data-centre ranges and known-bad addresses. Locations are blocked by default: an IP in a country with no location rule returns allowed: false.
This answer is advisory. The Vivamo SDK checks the customer's location again, using their own browser, before every payment and payout.
Request body
ipstringRequiredexternalCustomerIdstring
Response
allowedbooleanreasonstringlocation_allowedstringlocation_not_permittedstringlocation_unconfirmedstringanonymised_connectionstringflagsarray of stringcheckIdstringcountrystring or nullcountryCodestring or nullstatestring or nullstateCodestring or null
Connection checks that matched this IP, such as vpn, proxy, tor, datacenter, bogon, blocklist or trust_score_deny. A flag can appear on an allowed IP if Vivamo records that check without acting on it.