Saltar al contenido principal
POST
/
v1
/
dict
/
fraud-markers
Crear un Marcador de Fraude
curl --request POST \
  --url https://plugin-pix-indirect.api.lerian.net/v1/dict/fraud-markers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "taxIdNumber": "12345678901",
  "fraudType": "MULE_ACCOUNT",
  "key": "[email protected]"
}
'
{
  "id": "550e8400-e29b-41d4-a716-44665544f999",
  "document": "12345678901",
  "fraudType": "MULE_ACCOUNT",
  "key": "[email protected]",
  "status": "REGISTERED",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
taxIdNumber
string
requerido

CPF o CNPJ de la persona/entidad que está siendo marcada.

Ejemplo:

"12345678901"

fraudType
enum<string>
requerido

Tipo de fraude.

Opciones disponibles:
APPLICATION_FRAUD,
MULE_ACCOUNT,
SCAMMER_ACCOUNT,
OTHER
Ejemplo:

"MULE_ACCOUNT"

key
string

Clave Pix opcional asociada con el fraude.

Respuesta

Marcador de fraude creado exitosamente.

id
string

Identificador único.

Ejemplo:

"550e8400-e29b-41d4-a716-44665544f999"

document
string

CPF o CNPJ.

Ejemplo:

"12345678901"

fraudType
enum<string>

Tipo de fraude.

Opciones disponibles:
APPLICATION_FRAUD,
MULE_ACCOUNT,
SCAMMER_ACCOUNT,
OTHER
Ejemplo:

"MULE_ACCOUNT"

key
string

Clave Pix asociada.

status
enum<string>

Estado actual.

Opciones disponibles:
REGISTERED,
CANCELLED
Ejemplo:

"REGISTERED"

createdAt
string<date-time>
Ejemplo:

"2024-01-15T10:30:00Z"

updatedAt
string<date-time>
Ejemplo:

"2024-01-15T10:30:00Z"