List MED refund requests pending my analysis
curl --request GET \
--url https://plugin-pix-direct.api.lerian.net/v1/med/refunds/pending-analysis \
--header 'Authorization: Bearer <token>'import requests
url = "https://plugin-pix-direct.api.lerian.net/v1/med/refunds/pending-analysis"
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/refunds/pending-analysis', 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/refunds/pending-analysis",
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/refunds/pending-analysis"
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/refunds/pending-analysis")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://plugin-pix-direct.api.lerian.net/v1/med/refunds/pending-analysis")
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": [
{
"breached": true,
"dtHrCriacao": "<string>",
"dtHrUltModificacao": "<string>",
"endToEndId": "<string>",
"idSolDevolucao": "<string>",
"ispbContestado": "<string>",
"ispbSolicitante": "<string>",
"motivo": 123,
"motivoDescription": "<string>",
"status": 123,
"statusDescription": "<string>",
"valorDevolucaoCents": 123,
"analysisDeadline": "<string>",
"detalhes": "<string>",
"detalhesAnalise": "<string>",
"endToEndIdDevolucao": "<string>",
"idRecValores": "<string>",
"idRelatoInfracao": "<string>",
"motivoRejeicao": 123,
"motivoRejeicaoDescription": "<string>",
"resultadoAnalise": 123,
"resultadoAnaliseDescription": "<string>",
"valorDevolvidoCents": 123
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}List MED refund requests pending my analysis
Lists the OPEN refund requests this institution must analyse (contested against it), ordered by analysis deadline (earliest first). The contested ISPB is config-derived. Each row surfaces analysisDeadline and a computed breached flag. Read projection — no upstream round-trip.
GET
/
v1
/
med
/
refunds
/
pending-analysis
List MED refund requests pending my analysis
curl --request GET \
--url https://plugin-pix-direct.api.lerian.net/v1/med/refunds/pending-analysis \
--header 'Authorization: Bearer <token>'import requests
url = "https://plugin-pix-direct.api.lerian.net/v1/med/refunds/pending-analysis"
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/refunds/pending-analysis', 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/refunds/pending-analysis",
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/refunds/pending-analysis"
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/refunds/pending-analysis")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://plugin-pix-direct.api.lerian.net/v1/med/refunds/pending-analysis")
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": [
{
"breached": true,
"dtHrCriacao": "<string>",
"dtHrUltModificacao": "<string>",
"endToEndId": "<string>",
"idSolDevolucao": "<string>",
"ispbContestado": "<string>",
"ispbSolicitante": "<string>",
"motivo": 123,
"motivoDescription": "<string>",
"status": 123,
"statusDescription": "<string>",
"valorDevolucaoCents": 123,
"analysisDeadline": "<string>",
"detalhes": "<string>",
"detalhesAnalise": "<string>",
"endToEndIdDevolucao": "<string>",
"idRecValores": "<string>",
"idRelatoInfracao": "<string>",
"motivoRejeicao": 123,
"motivoRejeicaoDescription": "<string>",
"resultadoAnalise": 123,
"resultadoAnaliseDescription": "<string>",
"valorDevolvidoCents": 123
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}Authorizations
JWT Bearer token authentication. Obtain token from /v1/login/oauth/access_token endpoint
using client credentials (clientId and clientSecret).
Include token in Authorization header:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Token expires after 3600 seconds (1 hour).
Query Parameters
Maximum number of rows to return; 0 uses the server default.
Response
OK
The list of detected refund requests, newest first.
Show child attributes
Show child attributes
Was this page helpful?
⌘I

