curl --request POST \
--url https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"eventId": "evt-7f3a",
"key": "alice@example.com",
"keyType": "EMAIL",
"op": "CREATED",
"timestamp": "2026-06-21T10:00:00Z"
}
]
}
'import requests
url = "https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events"
payload = { "events": [
{
"eventId": "evt-7f3a",
"key": "alice@example.com",
"keyType": "EMAIL",
"op": "CREATED",
"timestamp": "2026-06-21T10:00:00Z"
}
] }
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({
events: [
{
eventId: 'evt-7f3a',
key: 'alice@example.com',
keyType: 'EMAIL',
op: 'CREATED',
timestamp: '2026-06-21T10:00:00Z'
}
]
})
};
fetch('https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events', 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-events",
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([
'events' => [
[
'eventId' => 'evt-7f3a',
'key' => 'alice@example.com',
'keyType' => 'EMAIL',
'op' => 'CREATED',
'timestamp' => '2026-06-21T10:00:00Z'
]
]
]),
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-events"
payload := strings.NewReader("{\n \"events\": [\n {\n \"eventId\": \"evt-7f3a\",\n \"key\": \"alice@example.com\",\n \"keyType\": \"EMAIL\",\n \"op\": \"CREATED\",\n \"timestamp\": \"2026-06-21T10:00:00Z\"\n }\n ]\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-events")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"events\": [\n {\n \"eventId\": \"evt-7f3a\",\n \"key\": \"alice@example.com\",\n \"keyType\": \"EMAIL\",\n \"op\": \"CREATED\",\n \"timestamp\": \"2026-06-21T10:00:00Z\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events")
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 \"events\": [\n {\n \"eventId\": \"evt-7f3a\",\n \"key\": \"alice@example.com\",\n \"keyType\": \"EMAIL\",\n \"op\": \"CREATED\",\n \"timestamp\": \"2026-06-21T10:00:00Z\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"discrepanciesDetected": 2,
"id": "550e8400-e29b-41d4-a716-446655440003",
"keysChecked": 24,
"mode": "FULL",
"startedAt": "2026-06-14T12:00:00Z",
"status": "COMPLETED",
"discrepancies": [
{
"detectedAt": "2026-06-14T12:00:00Z",
"discrepancyType": "STALE_DATA",
"keyValue": "***@example.com",
"localStatus": "ACTIVE",
"remoteStatus": "ACTIVE"
}
],
"finishedAt": "2026-06-14T12:00:00Z"
}
]{
"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"
}Reconcile DICT keys against a BACEN event-list
CONTINGENCY reconciliation: reconciles an operator-supplied BACEN DICT event-list (CID) against local key state, flagging divergences. Used when the live CID/VSync inventory channel is unavailable. Enumeration/divergence only — no BACEN call, no money, no position.
curl --request POST \
--url https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"eventId": "evt-7f3a",
"key": "alice@example.com",
"keyType": "EMAIL",
"op": "CREATED",
"timestamp": "2026-06-21T10:00:00Z"
}
]
}
'import requests
url = "https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events"
payload = { "events": [
{
"eventId": "evt-7f3a",
"key": "alice@example.com",
"keyType": "EMAIL",
"op": "CREATED",
"timestamp": "2026-06-21T10:00:00Z"
}
] }
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({
events: [
{
eventId: 'evt-7f3a',
key: 'alice@example.com',
keyType: 'EMAIL',
op: 'CREATED',
timestamp: '2026-06-21T10:00:00Z'
}
]
})
};
fetch('https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events', 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-events",
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([
'events' => [
[
'eventId' => 'evt-7f3a',
'key' => 'alice@example.com',
'keyType' => 'EMAIL',
'op' => 'CREATED',
'timestamp' => '2026-06-21T10:00:00Z'
]
]
]),
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-events"
payload := strings.NewReader("{\n \"events\": [\n {\n \"eventId\": \"evt-7f3a\",\n \"key\": \"alice@example.com\",\n \"keyType\": \"EMAIL\",\n \"op\": \"CREATED\",\n \"timestamp\": \"2026-06-21T10:00:00Z\"\n }\n ]\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-events")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"events\": [\n {\n \"eventId\": \"evt-7f3a\",\n \"key\": \"alice@example.com\",\n \"keyType\": \"EMAIL\",\n \"op\": \"CREATED\",\n \"timestamp\": \"2026-06-21T10:00:00Z\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://spi.sandbox.lerian.net/api/v1/dict/internal/reconciliation/run-events")
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 \"events\": [\n {\n \"eventId\": \"evt-7f3a\",\n \"key\": \"alice@example.com\",\n \"keyType\": \"EMAIL\",\n \"op\": \"CREATED\",\n \"timestamp\": \"2026-06-21T10:00:00Z\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body[
{
"discrepanciesDetected": 2,
"id": "550e8400-e29b-41d4-a716-446655440003",
"keysChecked": 24,
"mode": "FULL",
"startedAt": "2026-06-14T12:00:00Z",
"status": "COMPLETED",
"discrepancies": [
{
"detectedAt": "2026-06-14T12:00:00Z",
"discrepancyType": "STALE_DATA",
"keyValue": "***@example.com",
"localStatus": "ACTIVE",
"remoteStatus": "ACTIVE"
}
],
"finishedAt": "2026-06-14T12:00:00Z"
}
]{
"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"
}Authorizations
JWT bearer token issued by the identity provider.
Body
BACEN DICT event-list (CID) to reconcile against local key state; at least one event required
BACEN DICT event-list entries to reconcile against local key state; must contain at least one event.
Show child attributes
Show child attributes
Response
OK
Total count of discrepancies detected during the run.
2
Unique reconciliation run identifier (UUID).
"550e8400-e29b-41d4-a716-446655440003"
Number of keys checked against BACEN DICT during the run.
24
Reconciliation mode the run executed with: FULL or INCREMENTAL.
"FULL"
Timestamp the reconciliation run started, RFC 3339 (UTC).
"2026-06-14T12:00:00Z"
Run lifecycle status: RUNNING, COMPLETED, or FAILED.
"COMPLETED"
Details of each detected discrepancy; omitted when none were found.
Show child attributes
Show child attributes
Timestamp the run finished, RFC 3339 (UTC); omitted while the run is still RUNNING.
"2026-06-14T12:00:00Z"
Was this page helpful?

