GET
/chargesAutenticadoListar cobranças
Retorna as cobranças da conta autenticada, com receivables (Pix e/ou boleto), pagamentos e status.
https://gateway.credito-direto.com/api/charges
cURL
cURL
curl --request GET \
--url 'https://gateway.credito-direto.com/api/charges' \
--header 'accept: application/json' \
--header 'authorization: Bearer TOKEN'Query string
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| receivable_status | string | string[] | Não | Filtra pelo status do receivable: created, processing, paid, refunded, canceling, canceled. |
| page_size | number | Não | Quantidade de itens por página. |
Exemplo de resposta
Response JSON
{
"items": [
{
"id": "chg_01",
"payment_methods": ["pix", "boleto"],
"payer": {
"name": "Maria Silva",
"tax_id": "12345678909",
"address": {
"street": "Rua das Flores",
"number": "100",
"district": "Centro",
"city": "São Paulo",
"state": "SP",
"postal_code": "01001000"
}
},
"receivables": [
{
"id": "rcv_01",
"status": "paid",
"amount": 15035,
"due_date": "2026-08-15",
"description": "Parcela consignado — ref. 08/2026",
"qrcode": { "id": "qr_01", "emv_payload": "00020126..." },
"boleto": {
"id": "bol_01",
"barcode": "23791.12345 67890.123456 78901.234567 8 12340000015035",
"linha_digitavel": "23791123456789012345678901234567812340000015035",
"identification_number": "1234567890",
"type": "other"
},
"payments": [
{
"id": "pay_01",
"amount": 15035,
"paid_with": "pix",
"receipt_url": "https://gateway.credito-direto.com/comprovantes/pay_01",
"created_at": "2026-08-10T14:22:00.000Z"
}
],
"created_at": "2026-08-09T12:00:00.000Z",
"updated_at": "2026-08-10T14:22:00.000Z"
}
],
"created_at": "2026-08-09T12:00:00.000Z",
"updated_at": "2026-08-10T14:22:00.000Z"
}
]
}