List Pix certificates
curl --request GET \
--url https://spi.sandbox.lerian.net/api/v1/spi/certificates \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://spi.sandbox.lerian.net/api/v1/spi/certificates"
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://spi.sandbox.lerian.net/api/v1/spi/certificates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://spi.sandbox.lerian.net/api/v1/spi/certificates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"certType": "PIC",
"createdAt": "2026-06-21T18:30:00Z",
"custody": "LOCAL",
"fingerprint": "9f2c...e1",
"id": "550e8400-e29b-41d4-a716-446655440000",
"origin": "BACEN",
"serial": "00A1B2C3",
"status": "ACTIVE",
"updatedAt": "2026-06-21T18:30:00Z",
"activationDate": "2026-01-01T00:00:00Z",
"commonName": "spi.example.br",
"createdBy": "operator-1",
"expiryDate": "2027-01-01T00:00:00Z",
"fileName": "pic.cer"
}
]
}{
"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"
}List Pix certificates
Returns the managed Pix-side certificate inventory (PIC/PIA/QR-code/CERTPIC/signing) with type, origin, status, custody, and validity window — structured public metadata only. Key material is never exposed.
GET
/
api
/
v1
/
spi
/
certificates
List Pix certificates
curl --request GET \
--url https://spi.sandbox.lerian.net/api/v1/spi/certificates \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://spi.sandbox.lerian.net/api/v1/spi/certificates"
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://spi.sandbox.lerian.net/api/v1/spi/certificates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://spi.sandbox.lerian.net/api/v1/spi/certificates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"certType": "PIC",
"createdAt": "2026-06-21T18:30:00Z",
"custody": "LOCAL",
"fingerprint": "9f2c...e1",
"id": "550e8400-e29b-41d4-a716-446655440000",
"origin": "BACEN",
"serial": "00A1B2C3",
"status": "ACTIVE",
"updatedAt": "2026-06-21T18:30:00Z",
"activationDate": "2026-01-01T00:00:00Z",
"commonName": "spi.example.br",
"createdBy": "operator-1",
"expiryDate": "2027-01-01T00:00:00Z",
"fileName": "pic.cer"
}
]
}{
"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"
}Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de consulta
Optional lifecycle-status filter; omit (empty) for all.
Opciones disponibles:
ACTIVE, DEACTIVATED, EXPIRED Respuesta
OK
Managed Pix certificates, newest first.
Show child attributes
Show child attributes
¿Esta página le ayudó?

