List MED recoveries awaiting devolver
curl --request GET \
--url https://api.example.com/v1/med/recoveries/awaiting-devolver \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/med/recoveries/awaiting-devolver"
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))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/med/recoveries/awaiting-devolver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/med/recoveries/awaiting-devolver"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"breached": false,
"contatoEmail": "ops@example.com",
"contatoTelefone": "+5511999999999",
"dtHrCriacao": "2024-01-01T12:00:00.000Z",
"dtHrUltModificacao": "2024-01-01T12:05:00.000Z",
"idRecValores": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"idTransacaoRaiz": "E1234567820240101000000000000001",
"pspCriador": "12345678",
"status": 0,
"statusDescription": "Criada",
"tpSituacao": 0,
"tpSituacaoDescription": "Golpe/Estelionato",
"detalhes": "Suspected scam.",
"devolverDeadline": "2024-01-04T12:00:00.000Z",
"dictCorrelationId": "a9f13566e19f5ca51329479a5bae60c5",
"dictReturnedAt": "2025-08-27T10:30:05.025Z"
}
]
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}List MED recoveries awaiting devolver
Lists the creator-side Analisada value recoveries this institution may still trigger devolver on (contract §2.22/§5, within 72h of the Analise stage closing), ordered by devolver deadline (earliest first). The creator ISPB is config-derived. Each row surfaces devolverDeadline and a computed breached flag. Read projection — no JDPI round-trip; no action taken and no money moved.
GET
/
v1
/
med
/
recoveries
/
awaiting-devolver
List MED recoveries awaiting devolver
curl --request GET \
--url https://api.example.com/v1/med/recoveries/awaiting-devolver \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/med/recoveries/awaiting-devolver"
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))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/v1/med/recoveries/awaiting-devolver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/v1/med/recoveries/awaiting-devolver"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"breached": false,
"contatoEmail": "ops@example.com",
"contatoTelefone": "+5511999999999",
"dtHrCriacao": "2024-01-01T12:00:00.000Z",
"dtHrUltModificacao": "2024-01-01T12:05:00.000Z",
"idRecValores": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
"idTransacaoRaiz": "E1234567820240101000000000000001",
"pspCriador": "12345678",
"status": 0,
"statusDescription": "Criada",
"tpSituacao": 0,
"tpSituacaoDescription": "Golpe/Estelionato",
"detalhes": "Suspected scam.",
"devolverDeadline": "2024-01-04T12:00:00.000Z",
"dictCorrelationId": "a9f13566e19f5ca51329479a5bae60c5",
"dictReturnedAt": "2025-08-27T10:30:05.025Z"
}
]
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Was this page helpful?

