Ir al contenido

Creates a new Fraud Check request

POST
/fraud-checks

Send a Fraud Check request and get risk score value back.

The new fraud-check resource

Media type application/json

Fraud check request

object
service_code
required

Service code defines the type of fraud query you make. Economy contains only a risk value, while Pro and Direct contain more details about the results, so you can make your own decision. Direct queries are also processed with priority. (see /me)

string
Allowed values: economy pro direct
callback_data
Any of:

Valor (String) que se envía de vuelta a su endpoint. Por ejemplo, puede pasar su propio ID de esta forma y recibirlo de vuelta con el informe de entrega (DLR).

string | null
<= 36 characters
phone
Any of:

Número de destinatario (internacional):

  • +491701234567 (E.164)
  • 00491701234567
  • 491701234567
  • 01701234567 (si la cuenta está registrada en Alemania) se convertirá en +491701234567

Si el número no está en formato E.164, el servicio lo convertirá basándose en la dirección del usuario. Para evitar problemas con la conversión, utilice preferentemente E.164.

string
>= 4 characters <= 16 characters /^\+[1-9]\d{1,14}$/
Example
+14155552671
email
Any of:

Email address

string
>= 6 characters <= 500 characters
ip
Any of:

IP address (IP v4/v6)

string
>= 7 characters <= 39 characters
address
Any of:

Fraud check request address

object
iso2
required

Código del país

string
>= 2 characters <= 2 characters /^[A-Z]{2}$/
city
required

The city name of the address

string | null
>= 2 characters <= 100 characters
postcode

The zip or post code of the address

string | null
>= 3 characters <= 20 characters
street_number

The number of house

string | null
>= 1 characters <= 30 characters
street_name
required

The street name

string | null
>= 2 characters <= 255 characters

Fraud-check resource created

Fraud check request

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
id

UUID único de entidad

string
/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
status_code

Request processing status codes:

  • 0 – new request and not processed yet
  • 5 – request’s processing in progress
  • 10 – request’s processing completed successfully
  • 20 - request’s processing completed with error: not enough credits
  • 21 - request’s processing completed with error: invalid data
  • 1000 - request’s processing completed with error: unexpected error
integer
Allowed values: 0 5 10 20 21 1000
risk_score

Fraud risk score from 0 (good) to 100 (bad)

number
<= 100
service_code
required

Service code defines the type of fraud query you make. Economy contains only a risk value, while Pro and Direct contain more details about the results, so you can make your own decision. Direct queries are also processed with priority. (see /me)

string
Allowed values: economy pro direct
created_at

Fecha en la que se añadió la entidad al sistema por el usuario

integer
updated_at

Fecha en que se modificó la entidad

integer
callback_data
Any of:

Valor (String) que se envía de vuelta a su endpoint. Por ejemplo, puede pasar su propio ID de esta forma y recibirlo de vuelta con el informe de entrega (DLR).

string | null
<= 36 characters
request_phone
Any of:

Fraud check request phone number

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
status_code

Request processing status codes:

  • 0 – new request and not processed yet
  • 5 – request’s processing in progress
  • 10 – request’s processing completed successfully
  • 20 - request’s processing completed with error: not enough credits
  • 21 - request’s processing completed with error: invalid data
  • 1000 - request’s processing completed with error: unexpected error
integer
Allowed values: 0 5 10 20 21 1000
phone
required

Número de destinatario (internacional):

  • +491701234567 (E.164)
  • 00491701234567
  • 491701234567
  • 01701234567 (si la cuenta está registrada en Alemania) se convertirá en +491701234567

Si el número no está en formato E.164, el servicio lo convertirá basándose en la dirección del usuario. Para evitar problemas con la conversión, utilice preferentemente E.164.

string
>= 4 characters <= 16 characters /^\+[1-9]\d{1,14}$/
created_at

Fecha en la que se añadió la entidad al sistema por el usuario

integer
updated_at

Fecha en que se modificó la entidad

integer
is_possible

Is phone number possible

boolean
is_valid

Is phone number valid

boolean
region

Código del país

string
>= 2 characters <= 2 characters /^[A-Z]{2}$/
number_type

Phone number type

string
request_email
Any of:

Fraud check request email

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
status_code

Request processing status codes:

  • 0 – new request and not processed yet
  • 5 – request’s processing in progress
  • 10 – request’s processing completed successfully
  • 20 - request’s processing completed with error: not enough credits
  • 21 - request’s processing completed with error: invalid data
  • 1000 - request’s processing completed with error: unexpected error
integer
Allowed values: 0 5 10 20 21 1000
email
required

An email address sent to check

More information

string format: email
>= 6 characters <= 500 characters
created_at

Fecha en la que se añadió la entidad al sistema por el usuario

integer
updated_at

Fecha en que se modificó la entidad

integer
is_possible

Is this email possible or not

boolean
is_anonymous

Is the service used to anonymize the sender of the email

boolean
request_ip
Any of:

Fraud check request IP address

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
status_code

Request processing status codes:

  • 0 – new request and not processed yet
  • 5 – request’s processing in progress
  • 10 – request’s processing completed successfully
  • 20 - request’s processing completed with error: not enough credits
  • 21 - request’s processing completed with error: invalid data
  • 1000 - request’s processing completed with error: unexpected error
integer
Allowed values: 0 5 10 20 21 1000
ip
required

IP address (IP v4/v6)

string
>= 7 characters <= 39 characters
created_at

Fecha en la que se añadió la entidad al sistema por el usuario

integer
updated_at

Fecha en que se modificó la entidad

integer
iso2

Código del país

string
>= 2 characters <= 2 characters /^[A-Z]{2}$/
state

Código del país

string
>= 2 characters <= 2 characters /^[A-Z]{2}$/
city

The city name of the IP address

string
postcode

The zip or post code of the IP address

string
geolocation

The latitude,longitude of the IP address (array)

Array<number>
isp_name

The name of the ISP

string
isp_risk_score

Risk score for the ISP

number
<= 100
proxy_type

If host is proxy:

  • VPN – Anonymizing VPN services. These services offer users a publicly accessible VPN for the purpose of hiding their IP address.
  • TOR – Tor Exit Nodes. The Tor Project is an open network used by those who wish to maintain anonymity.
  • DCH – Hosting Provider, Data Centre or Content Delivery Network. Since hosting providers and data centres can serve to provide anonymity, the Anonymous IP database flags IP addresses associated with them.
  • PUB – Public Proxies. These are services which make connection requests on a user’s behalf. Proxy server software can be configured by the administrator to listen on some specified port. These differ from VPNs in that the proxies usually have limited functions compare to VPNs.
  • WEB – Web Proxies. These are web services which make web requests on a user’s behalf. These differ from VPNs or Public Proxies in that they are simple web-based proxies rather than operating at the IP address and other ports level.
  • SES – Search Engine Robots. These are services which perform crawling or scraping to a website, such as, the search engine spider or bots engine.
string
Allowed values: VPN TOR DCH PUB WEB SES
connection_type

The values can be one of either: “dialup”, “isdn”, “cable”, “dsl”, “fttx”, “wireless” or null

string | null
Allowed values: dialup isdn cable dsl fttx wireless
is_ok

Was the request handled correctly?

boolean
request_address
Any of:

Fraud check request address

object
@id

JSON-LD ID

string
@type

JSON-LD type

string
@context
One of:
string
status_code

The request status

integer | null
iso2
required

Código del país

string
>= 2 characters <= 2 characters /^[A-Z]{2}$/
city
required

The city name of the address

string | null
>= 2 characters <= 100 characters
postcode

The zip or post code of the address

string | null
>= 3 characters <= 20 characters
street_number

The number of house

string | null
>= 1 characters <= 30 characters
street_name
required

The street name

string | null
>= 2 characters <= 255 characters
created_at

Fecha en la que se añadió la entidad al sistema por el usuario

integer
updated_at

Fecha en que se modificó la entidad

integer
price

Precio

number
Example
{
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"status_code": 0,
"service_code": "economy",
"request_phone": {
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"status_code": 0,
"phone": "+14155552671",
"region": "US"
},
"request_email": {
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"status_code": 0
},
"request_ip": {
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"status_code": 0,
"iso2": "US",
"state": "US",
"proxy_type": "VPN",
"connection_type": "dialup"
},
"request_address": {
"@context": {
"hydra": "http://www.w3.org/ns/hydra/core#"
},
"iso2": "US"
}
}

Entrada no valida

El ID de cliente o la clave API no están activos o no son válidos.

There are not enough funds on your account!

La cuenta no está activada. Espere o póngase en contacto con el servicio de asistencia.

La solicitud estaba bien formada pero no se pudo procesar debido a errores semánticos

La dirección IP fue bloqueada temporalmente, ya que durante poco tiempo se enviaron muchas solicitudes con credenciales no válidas. Espere y pruebe más tarde.

Code Samples

#!/usr/bin/env bash
curl -X POST https://api.lox24.eu/fraud-checks \
-H 'Content-Type: application/json' \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx' \
-d '{
"service_code": "direct",
"phone": "+49751234567",
"email": "test@lox24.de",
"ip": "1.1.1.1",
"address": {
"iso2": "DE",
"city": "Berlin",
"postcode": "13353",
"street_number": "109",
"street_name": "Seestraße"
}
}'