• DeutschEnglish

ipInfo

Key

Format

CND

Description

ipAddress

string

M

IP address

country

object

M

Country of IP origin

state

string

C

States and provinces (that is, the first-level administrative division) in all countries where they exist

city

string

M

City, localized spelling

longitude

string

M

The longitude of the identified location, expressed as a floating point number with range of -180 to 180, with positive numbers representing East and negative numbers representing West

latitude

string

M

The latitude of the identified location, expressed as a floating point number with range of -90 to 90, with positive numbers representing North and negative numbers representing South. Latitude and longitude are derived from the city or postal code.

Schema

BASEURL= https://www.computop-paygate.com/schemas

1
{
2
"$schema": "http://json-schema.org/draft-07/schema#",
3
"$id": "BASEURL/ipInfo.json",
4
"title": "ipInfo",
5
"description": "IP Information",
6
"type": "object",
7
"properties": {
8
"ipAddress": {
9
"type": "string",
10
"oneOf": [{"format": "ipv4"},{"format": "ipv6"}]
11
},
12
"country": {
13
"type": "object",
14
"properties": {
15
"countryName": {
16
"type": "string"
17
},
18
"countryA2": {
19
"type": "string",
20
"minLength": 2,
21
"maxLength": 2
22
},
23
"countryA3": {
24
"type": "string",
25
"minLength": 3,
26
"maxLength": 3
27
},
28
"countryNumber": {
29
"type": "string",
30
"minLength": 3,
31
"maxLength": 3
32
}
33
},
34
"required": ["countryName", "countryA2", "countryA3", "countryNumber"],
35
"additionalproperties": false
36
},
37
"state": {
38
"type": "string"
39
},
40
"city": {
41
"type": "string"
42
},
43
"longitude": {
44
"type": "string"
45
},
46
"latitude": {
47
"type": "string"
48
}
49
},
50
"required": ["ipAddress", "country", "city", "longitude", "latitude"],
51
"additionalproperties": false
52
}

Sample

1
{
2
"ipAddress": "178.37.173.82",
3
"country": {
4
"countryName": "poland",
5
"countryA2": "pl",
6
"countryA3": "pol",
7
"countryNumber": "616"
8
},
9
"state": "wielkopolskie",
10
"city": "poznan",
11
"longitude": "16.83739",
12
"latitude": "52.4136"
13
}

Paygate

Documentation (EN)

Dokumentation (DE)

Paygate Status