Saltar al contenido principal
GET
/
v1
/
med
/
fraud-markers
/
dict
Listar marcadores de fraude MED (DICT-directo)
curl --request GET \
  --url https://plugin-pix-direct.api.lerian.net/v1/med/fraud-markers/dict \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://plugin-pix-direct.api.lerian.net/v1/med/fraud-markers/dict"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://plugin-pix-direct.api.lerian.net/v1/med/fraud-markers/dict', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://plugin-pix-direct.api.lerian.net/v1/med/fraud-markers/dict",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://plugin-pix-direct.api.lerian.net/v1/med/fraud-markers/dict"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://plugin-pix-direct.api.lerian.net/v1/med/fraud-markers/dict")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://plugin-pix-direct.api.lerian.net/v1/med/fraud-markers/dict")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "data": [
    {
      "cpfCnpj": "<string>",
      "dtHrCriacao": "<string>",
      "dtHrUltModificacao": "<string>",
      "idMarcacaoFraude": "<string>",
      "ispb": "<string>",
      "status": 123,
      "statusDescription": "<string>",
      "tpFraude": 123,
      "tpFraudeDescription": "<string>",
      "tpPessoa": 123,
      "tpPessoaDescription": "<string>",
      "chave": "<string>",
      "idRelatoInfracao": "<string>",
      "ispbRelatoInfracao": "<string>"
    }
  ]
}
{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}

Autorizaciones

Authorization
string
header
requerido

Autenticación con token JWT Bearer. Obtén el token desde el endpoint /v1/login/oauth/access_token usando credenciales de cliente (clientId y clientSecret).

Incluye el token en el encabezado Authorization: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

El token expira después de 3600 segundos (1 hora).

Parámetros de consulta

cpf_cnpj
string
requerido

The document to query (required for the DICT-direct listing). El documento a consultar (obligatorio para el listado DICT-directo).

chave
string

Optional key filter (must belong to cpf_cnpj if given). Filtro de clave opcional (debe pertenecer a cpf_cnpj si se indica).

limit
integer<int64>

DICT-mode page limit; 0 uses the upstream default (20). Límite de página en modo DICT; 0 usa el valor por defecto del upstream (20).

Respuesta

OK

data
object[] | null
requerido

La lista de marcadores de fraude.