Listar boletos
Siga nosso passo a passo para listar todos boletos atrelado ao usuário logado
Listar todos os boletos
1 - Para iniciar você já precisa estar logado no Internet Banking
lembre-se de sempre enviar uid, access-token e client no cabeçalho da requisição
CHAVE | VALOR | DESCRIÇÃO |
---|---|---|
uid | [email protected] | identificador unico |
access-token | Z_eOiMQwaRaGN14Iw8r0iQ | token de acesso |
client | 892RXGrwWaEC96QoQp5Dcg | token do cliente |
endpoint: https://{{base_url}}/bills/bank_slips
verbo http GET
{{base_url}} será substituida pela URL da sua empresa, exemplo: https://cwdev.ib.hmg.cashway.io/api/v3
2 - Se tudo ocorrer bem, você receberá uma resposta com Status 200 OK
Corpo da resposta com sucesso:
[
{
"id": 118647,
"assignor_name": "CASHWAY TECNOLOGIA DA INFORMACAO LTDA",
"assignor_document": "34615822000107",
"assignor_address": "ROD SC 401, nº 5500, 88032000, FLORIANOPOLIS - SC",
"payer_name": "EDUARDO GRITTI",
"payer_document": "07615661986",
"payer_address": "ROD. JOSE CARLOS DAUX, nº 5500, 88052003, FLORIANOPOLIS - SC",
"due_on": "06/08/2021",
"value": "6.0",
"status_description": "Baixa solicitada",
"instructions_list": [
"",
""
],
"bills_user_id": 344092,
"digitable_line": "21390001171200006210400015730641187040000000600",
"registered": true,
"created_at": "03/08/2021",
"our_number": 270,
"interest_date": "2021-08-07",
"fine_date": "2021-08-07",
"rates": "0.0",
"payer_id": 29296,
"assignor_id": 26914,
"fine_code": "1",
"fine": "0.0",
"interest_code": "1",
"interest": 0,
"days_of_protest": null,
"note": "",
"barcode": "21391870400000006000001112000062100001573064",
"payer_email": "[email protected]",
"bank_agreement_id": 11,
"payer_phone": "46984047587",
"assignor_email": null,
"assignor_phone": null,
"provider_our_number": "00001573064",
"errors": []
},
{
"id": 118644,
"assignor_name": "CASHWAY TECNOLOGIA DA INFORMACAO LTDA",
"assignor_document": "34615822000107",
"assignor_address": "ROD SC 401, nº 5500, 88032000, FLORIANOPOLIS - SC",
"payer_name": "EDUARDO GRITTI",
"payer_document": "07615661986",
"payer_address": "ROD. JOSE CARLOS DAUX, nº 5500, 88052003, FLORIANOPOLIS - SC",
"due_on": "06/08/2021",
"value": "5.01",
"status_description": "Baixa solicitada",
"instructions_list": [
"",
""
],
"bills_user_id": 344092,
"digitable_line": "21390001171200006210400015730567287040000000501",
"registered": true,
"created_at": "03/08/2021",
"our_number": 267,
"interest_date": "2021-08-07",
"fine_date": "2021-08-07",
"rates": "0.0",
"payer_id": 29296,
"assignor_id": 26914,
"fine_code": "1",
"fine": "0.0",
"interest_code": "1",
"interest": 0,
"days_of_protest": null,
"note": "",
"barcode": "21392870400000005010001112000062100001573056",
"payer_email": "[email protected]",
"bank_agreement_id": 11,
"payer_phone": "46984047587",
"assignor_email": null,
"assignor_phone": null,
"provider_our_number": "00001573056",
"errors": []
},
{
"id": 113832,
"assignor_name": "CASHWAY TECNOLOGIA DA INFORMACAO LTDA",
"assignor_document": "34615822000107",
"assignor_address": "ROD SC 401, nº 5500, 88032000, FLORIANOPOLIS - SC",
"payer_name": "RENAN DIEGO A DE SOUZA",
"payer_document": "02569234184",
"payer_address": "Rua Guapere, nº 64, 88032560, Florianópolis - SC",
"due_on": "30/07/2021",
"value": "5.1",
"status_description": "Aberto",
"instructions_list": [],
"bills_user_id": 344092,
"digitable_line": "21390001171200006210400015255516486970000000510",
"registered": true,
"created_at": "06/07/2021",
"our_number": 195,
"interest_date": null,
"fine_date": null,
"rates": "0.0",
"payer_id": 27985,
"assignor_id": 26914,
"fine_code": "1",
"fine": "0.0",
"interest_code": "1",
"interest": 0,
"days_of_protest": null,
"note": "",
"barcode": "21394869700000005100001112000062100001525551",
"payer_email": "[email protected]",
"bank_agreement_id": 11,
"payer_phone": "",
"assignor_email": null,
"assignor_phone": null,
"provider_our_number": "00001525551",
"errors": []
}
]
Updated 10 months ago