File tree 2 files changed +43
-0
lines changed
2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ Você também pode se inscrever para receber as notificações de alterações d
22
22
23
23
#### Últimas alterações realizadas na API.
24
24
25
+ ### 15/07/2021
26
+
27
+ - Adicionado novo endpoint para [ Download do CNAB de Retorno] ( /reference/v1/discharges/#download-do-cnab ) .
28
+
25
29
### 22/06/2021
26
30
27
31
- Ajusta documentação em [ Webhook Enviados] ( /reference/v1/webhook_deliveries/ )
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ breadcrumb: CNAB (Retorno)
15
15
| [ GET /api/v1/discharges] ( #listar-cnabs ) | Listar CNABs
16
16
| [ PUT /api/v1/discharges/: id /pay_off] ( #quitar-boletos ) | Quitar boletos
17
17
| [ PUT /api/v1/discharges/: id /reprocess] ( #reprocessar-cnab ) | Reprocessar CNAB
18
+ | [ GET /api/v1/discharges/: id /download] ( #download-do-cnab ) | Download do CNAB
18
19
19
20
### Modelo de Dados
20
21
@@ -651,6 +652,44 @@ Array
651
652
</div> -->
652
653
</div >
653
654
655
+ ### Download do CNAB
656
+
657
+ ` GET /api/v1/discharges/:id/download `
658
+
659
+ #### Exemplo
660
+
661
+ <ul class =" nav nav-tabs " role =" tablist " >
662
+ <li class =" active " ><a href =" #bash3 " role =" tab " data-toggle =" tab " >Bash</a ></li >
663
+ </ul >
664
+
665
+ <div class =" tab-content " >
666
+ <div class =" tab-pane active " id =" bash3 " >
667
+ <small>Requisição:</small>
668
+
669
+ <pre class =" bash " >
670
+ curl -i \
671
+ -H "Authorization: Bearer $BOLETOSIMPLES_TOKEN" \
672
+ -H 'Content-Type: application/json' \
673
+ -H 'User-Agent: MyApp (
[email protected] )' \
674
+ -X GET 'https://sandbox.boletosimples.com.br/api/v1/discharges/1/download'
675
+ </pre >
676
+
677
+ <small>Resposta:</small>
678
+
679
+ <pre class =" http " >
680
+ HTTP/1.1 200 OK
681
+ Server: Cowboy
682
+ Connection: keep-alive
683
+ Strict-Transport-Security: max-age=2592000
684
+ Content-Type: application/octet-stream
685
+ Content-Transfer-Encoding: binary
686
+ ...
687
+ 02RETORNO01COBRANCA...
688
+ </pre >
689
+
690
+ </div >
691
+ </div >
692
+
654
693
### Listar CNABs
655
694
656
695
` GET /api/v1/discharges `
You can’t perform that action at this time.
0 commit comments