Geolocation
/Check Geolocation
Check Geolocation
https://api.vivamo.co/v1/operators/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.
If your operator has no location rules configured, the response will always be allowed: true (no IP lookup is performed).
Request body
ipstringRequired
The IPv4 or IPv6 address to check.
Examples:8.8.8.8
Response
Geolocation check result.
allowedbooleancountrystring or nullcountryCodestring or nullstatestring or nullstateCodestring or null
Whether the IP address is in an allowed location for this operator.
Full country name. Omitted when no location rules are configured.
ISO 3166-1 alpha-2 country code. Omitted when no location rules are configured.
Full state or region name.
ISO 3166-2 state or region code.
Built with