Skip to main content
GET
/
v1
/
str
/
reserve-balance-queries
/
{id}
Read STR0013 reserve-balance query result
curl --request GET \
  --url https://spb.sandbox.lerian.net/v1/str/reserve-balance-queries/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://spb.sandbox.lerian.net/v1/str/reserve-balance-queries/{id}"

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

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

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

fetch('https://spb.sandbox.lerian.net/v1/str/reserve-balance-queries/{id}', 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://spb.sandbox.lerian.net/v1/str/reserve-balance-queries/{id}",
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://spb.sandbox.lerian.net/v1/str/reserve-balance-queries/{id}"

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://spb.sandbox.lerian.net/v1/str/reserve-balance-queries/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://spb.sandbox.lerian.net/v1/str/reserve-balance-queries/{id}")

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
{
  "correlationId": "<string>",
  "id": "<string>",
  "ispbIfLdl": "<string>",
  "status": "<string>",
  "dtHrBC": "<string>",
  "dtMovto": "<string>",
  "receivedAt": "2023-11-07T05:31:56Z",
  "sldRbCl": "<string>"
}
{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

id
string
required

Correlation id returned by POST /v1/str/reserve-balance-queries (the outbound STR0013 NUOp).

Response

OK

correlationId
string
required

Request-scoped correlation identifier echoing X-Request-ID.

Example:

"req-7a3f9c2e"

id
string
required

Correlation id (the outbound STR0013 NUOp).

Example:

"12345678202606150000013"

ispbIfLdl
string
required

ISPB of the requesting financial institution / clearing house.

Example:

"12345678"

status
string
required

PENDING until the STR0013R1 answer arrives; ANSWERED once the balance has been projected.

Example:

"ANSWERED"

dtHrBC
string

BACEN timestamp of the balance (DtHrBC), verbatim. Empty while PENDING.

Example:

"2026-06-15T10:00:00"

dtMovto
string

Movement date the balance applies to (DtMovto), verbatim. Empty while PENDING.

Example:

"2026-06-15"

receivedAt
string<date-time>

RFC3339 UTC freshness timestamp the answer was projected. Empty while PENDING.

Example:

"2026-06-15T10:00:01Z"

sldRbCl
string

Reserve-account balance BACEN sent in the STR0013R1 (SldRB_CL — conta Reservas Bancárias / Conta de Liquidação), verbatim. Empty while PENDING.

Example:

"987654321.55"