Pular para o conteúdo principal
GET
/
v1
/
collections
/
immediate
Listar Cobranças Imediatas
curl --request GET \
  --url https://plugin-pix-indirect.api.lerian.net/v1/collections/immediate \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Account-Id: <x-account-id>'
{
  "items": [
    {
      "additionalInfo": {
        "customerId": "67890",
        "orderId": "12345"
      },
      "amount": "100.00",
      "createdAt": "2024-01-15T10:30:00Z",
      "debtorDocument": "12345678901",
      "debtorName": "João da Silva",
      "description": "Payment for order #12345",
      "emv": "00020126580014br.gov.bcb.pix...",
      "expirationSeconds": 3600,
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "locationUrl": "https://api.example.com/qr/550e8400",
      "metadata": {},
      "receiverKey": "+5511999999999",
      "status": "ACTIVE",
      "tags": [
        "ecommerce",
        "subscription"
      ],
      "txId": "TXN123456789",
      "updatedAt": "2024-01-15T10:30:00Z"
    }
  ],
  "limit": 10,
  "page": 1,
  "total": 150
}

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cabeçalhos

X-Account-Id
string
obrigatório

ID da Conta (formato UUID)

Parâmetros de consulta

limit
integer

Número máximo de cobranças por página (1-100)

page
integer

Número da página para paginação (começando em 1)

status
string

Filtro de status

tags
string

Filtro de tags

Resposta

OK

items
object[]

Items é o array de resultados de cobranças

limit
integer

Limit é o número máximo de resultados retornados

Exemplo:

10

page
integer

Page é o número da página atual

Exemplo:

1

total
integer

Total é o número total de cobranças que correspondem aos filtros

Exemplo:

150