List balance blocks for an infraction report
curl --request GET \
--url https://api.example.com/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks"
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/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"amount": "1000.00",
"attemptNumber": 1,
"createdAt": "2026-06-18T12:00:00Z",
"id": "018f8c1d-1234-7abc-9def-000000000002",
"status": "PENDING",
"updatedAt": "2026-06-18T12:05:00Z",
"failureReason": "balance-lock group settle exceeds the settle ceiling",
"spiBlockId": "018f8c1d-5678-7abc-9def-000000000003"
}
],
"total": 1,
"totalBlocked": "1000.00",
"infractionAmount": "1500.00"
}{
"type": "https://errors.lerian.studio/v1/PIX-0001",
"title": "Bad Request",
"status": 400,
"detail": "Your request is missing one or more required header params.",
"code": "PIX-0001"
}{
"type": "https://errors.lerian.studio/v1/PIX-0011",
"title": "Not Found",
"status": 404,
"detail": "No entity was found for the given ID. Please make sure to use the correct ID.",
"code": "PIX-0011"
}{
"type": "https://errors.lerian.studio/v1/PIX-0000",
"title": "Internal Server Error",
"status": 500,
"detail": "internal error",
"code": "PIX-0000"
}{
"type": "https://errors.lerian.studio/v1/PIX-0071",
"title": "Bad Gateway",
"status": 502,
"detail": "internal error",
"code": "PIX-0071"
}{
"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 balance blocks for an infraction report
Returns the balance blocks associated with an infraction report and the aggregate totals: infractionAmount from the parent report and totalBlocked, the effective amount retained across active blocks in PENDING, SETTLING, or SETTLED. The report must belong to the authenticated organization, otherwise 404 is returned.
GET
/
dict
/
infraction-reports
/
{id}
/
balance-blocks
List balance blocks for an infraction report
curl --request GET \
--url https://api.example.com/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks"
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/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/dict-hub/v1/dict/infraction-reports/{id}/balance-blocks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"amount": "1000.00",
"attemptNumber": 1,
"createdAt": "2026-06-18T12:00:00Z",
"id": "018f8c1d-1234-7abc-9def-000000000002",
"status": "PENDING",
"updatedAt": "2026-06-18T12:05:00Z",
"failureReason": "balance-lock group settle exceeds the settle ceiling",
"spiBlockId": "018f8c1d-5678-7abc-9def-000000000003"
}
],
"total": 1,
"totalBlocked": "1000.00",
"infractionAmount": "1500.00"
}{
"type": "https://errors.lerian.studio/v1/PIX-0001",
"title": "Bad Request",
"status": 400,
"detail": "Your request is missing one or more required header params.",
"code": "PIX-0001"
}{
"type": "https://errors.lerian.studio/v1/PIX-0011",
"title": "Not Found",
"status": 404,
"detail": "No entity was found for the given ID. Please make sure to use the correct ID.",
"code": "PIX-0011"
}{
"type": "https://errors.lerian.studio/v1/PIX-0000",
"title": "Internal Server Error",
"status": 500,
"detail": "internal error",
"code": "PIX-0000"
}{
"type": "https://errors.lerian.studio/v1/PIX-0071",
"title": "Bad Gateway",
"status": 502,
"detail": "internal error",
"code": "PIX-0071"
}{
"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"
}
}Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de ruta
Infraction report internal ID (UUID format)
Ejemplo:
"018f8c1d-1234-7abc-9def-000000000001"
¿Esta página le ayudó?

