Saltar al contenido principal
GET
/
v1
/
str
/
operations
/
liquidity-transfers
/
{operationId}
Obtener estado de transferencia de liquidez de la Conta-PI
curl --request GET \
  --url https://spb.sandbox.lerian.net/v1/str/operations/liquidity-transfers/{operationId} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://spb.sandbox.lerian.net/v1/str/operations/liquidity-transfers/{operationId}"

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/operations/liquidity-transfers/{operationId}', 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/operations/liquidity-transfers/{operationId}",
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/operations/liquidity-transfers/{operationId}"

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/operations/liquidity-transfers/{operationId}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://spb.sandbox.lerian.net/v1/str/operations/liquidity-transfers/{operationId}")

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
{
  "amount": "<string>",
  "direction": "<string>",
  "operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "nuOp": "<string>",
  "numCtrlSTR": "<string>",
  "rejectionReason": "<string>",
  "sitLancSTR": "<string>"
}
{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "<string>",
"status": 123,
"title": "<string>",
"type": "about:blank"
}

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

operationId
string<uuid>
requerido

Liquidity-transfer operation UUID returned by the create endpoint.

Respuesta

OK

amount
string
requerido

Movement amount as a decimal-reais string, verbatim.

Ejemplo:

"1500.25"

direction
string
requerido

Operator-facing movement direction.

Ejemplo:

"aporte"

operationId
string<uuid>
requerido

Operation UUID.

Ejemplo:

"7c8b3a2e-9f1d-4a55-9b8e-1e1234567890"

status
string
requerido

Projection lifecycle status: PENDING (awaiting the STR R-leg), SETTLED (R-leg confirmed), or REJECTED.

Ejemplo:

"PENDING"

nuOp
string

SFN operation number stamped on the transmitted LPI frame. Empty until the transfer has been submitted to STR.

Ejemplo:

"12345678202606190000001"

numCtrlSTR
string

STR control number BACEN sent on the R-leg settlement confirmation, verbatim. Empty while PENDING.

Ejemplo:

"20260619000001"

rejectionReason
string

Failure detail when the status is REJECTED. Empty otherwise.

Ejemplo:

"insufficient reserve balance"

sitLancSTR
string

STR settlement status BACEN sent on the R-leg, verbatim. Empty while PENDING.

Ejemplo:

"LIQ"