File tree Expand file tree Collapse file tree 8 files changed +113
-0
lines changed Expand file tree Collapse file tree 8 files changed +113
-0
lines changed Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ response = gn .pix_list_balance ()
9
+ print (response )
10
+
Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ response = gn .pix_list_settings ()
9
+ print (response )
10
+
Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ body = {
9
+ 'pix' : {
10
+ 'receberSemChave' : True ,
11
+ 'chaves' : {
12
+ 'insira-aqui-sua-chave' : {
13
+ 'recebimento' : {
14
+ 'txidObrigatorio' : False ,
15
+ 'qrCodeEstatico' : {
16
+ 'recusarTodos' : False
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
23
+ response = gn .pix_update_settings (body = body )
24
+ print (response )
25
+
Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ response = gn .pix_create_evp ()
9
+ print (response )
10
+
Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ params = {
9
+ 'chave' : ''
10
+ }
11
+
12
+ response = gn .pix_delete_evp (params = params )
13
+ print (response )
14
+
Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ response = gn .pix_list_evp ()
9
+ print (response )
10
+
Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ body = {
9
+ "dataMovimento" : "2022-04-24" ,
10
+ "tipoRegistros" : {
11
+ "pixRecebido" : True ,
12
+ "pixDevolucaoEnviada" : False ,
13
+ "tarifaPixRecebido" : True ,
14
+ "pixEnviadoChave" : True ,
15
+ "pixEnviadoDadosBancarios" : False ,
16
+ "pixDevolucaoRecebida" : True
17
+ }
18
+ }
19
+
20
+ response = gn .create_report (body = body )
21
+ print (response )
Original file line number Diff line number Diff line change
1
+ # encoding: utf-8
2
+
3
+ from gerencianet import Gerencianet
4
+ from ...credentials import credentials
5
+
6
+ gn = Gerencianet (credentials .CREDENTIALS )
7
+
8
+ params = {
9
+ "id" : "085y2253-bb04-48ba-b7d1-961538d0ed77"
10
+ }
11
+
12
+ response = gn .detail_report (params = params )
13
+ print (response )
You can’t perform that action at this time.
0 commit comments