Pular para o conteúdo principal
POST
/
api
/
v1
/
dict
/
internal
/
reconciliation
/
run
Disparar conciliação DICT
curl --request POST \
  --url https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "mode": "<string>"
}
'
import requests

url = "https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run"

payload = { "mode": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({mode: '<string>'})
};

fetch('https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run', 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://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'mode' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

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

curl_close($curl);

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

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

func main() {

url := "https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run"

payload := strings.NewReader("{\n \"mode\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

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

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

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"mode\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run")

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

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"mode\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
[
  {
    "discrepanciesDetected": 123,
    "id": "<string>",
    "keysChecked": 123,
    "mode": "<string>",
    "startedAt": "<string>",
    "status": "<string>",
    "discrepancies": [
      {
        "detectedAt": "<string>",
        "discrepancyType": "<string>",
        "keyValue": "<string>",
        "localStatus": "<string>",
        "remoteStatus": "<string>"
      }
    ],
    "finishedAt": "<string>"
  }
]
{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Corpo

application/json

Reconciliation request; mode must be FULL or INCREMENTAL (case-insensitive)

mode
string
obrigatório

Reconciliation thoroughness: FULL checks all active keys against BACEN DICT; INCREMENTAL checks only keys updated since the last successful run.

Exemplo:

"FULL"

Resposta

object[] | null

OK

discrepanciesDetected
integer<int64>
obrigatório

Total count of discrepancies detected during the run.

Exemplo:

2

id
string
obrigatório

Unique reconciliation run identifier (UUID).

Exemplo:

"550e8400-e29b-41d4-a716-446655440003"

keysChecked
integer<int64>
obrigatório

Number of keys checked against BACEN DICT during the run.

Exemplo:

24

mode
string
obrigatório

Reconciliation mode the run executed with: FULL or INCREMENTAL.

Exemplo:

"FULL"

startedAt
string
obrigatório

Timestamp the reconciliation run started, RFC 3339 (UTC).

Exemplo:

"2026-06-14T12:00:00Z"

status
string
obrigatório

Run lifecycle status: RUNNING, COMPLETED, or FAILED.

Exemplo:

"COMPLETED"

discrepancies
object[] | null

Details of each detected discrepancy; omitted when none were found.

finishedAt
string

Timestamp the run finished, RFC 3339 (UTC); omitted while the run is still RUNNING.

Exemplo:

"2026-06-14T12:00:00Z"