From 7c35755098656468c0a584a504414e5dd1e79f9b Mon Sep 17 00:00:00 2001 From: Rodrigo Castro Date: Thu, 8 Aug 2024 17:28:39 -0300 Subject: [PATCH] atualiza url da API PIX --- bb_wrapper/wrapper/pagamento_lote.py | 2 +- bb_wrapper/wrapper/pix_cob.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bb_wrapper/wrapper/pagamento_lote.py b/bb_wrapper/wrapper/pagamento_lote.py index 845585f7..29a7ae7b 100644 --- a/bb_wrapper/wrapper/pagamento_lote.py +++ b/bb_wrapper/wrapper/pagamento_lote.py @@ -17,7 +17,7 @@ class PagamentoLoteBBWrapper(BaseBBWrapper): """ SCOPE = "pagamentos-lote.lotes-requisicao pagamentos-lote.transferencias-info pagamentos-lote.transferencias-requisicao pagamentos-lote.cancelar-requisicao pagamentos-lote.devolvidos-info pagamentos-lote.lotes-info pagamentos-lote.pagamentos-guias-sem-codigo-barras-info pagamentos-lote.pagamentos-info pagamentos-lote.pagamentos-guias-sem-codigo-barras-requisicao pagamentos-lote.pagamentos-codigo-barras-info pagamentos-lote.boletos-requisicao pagamentos-lote.guias-codigo-barras-info pagamentos-lote.guias-codigo-barras-requisicao pagamentos-lote.transferencias-pix-info pagamentos-lote.transferencias-pix-requisicao pagamentos-lote.pix-info pagamentos-lote.boletos-info" # noqa - BASE_PROD_ADDITION = "-ip" + BASE_SUBDOMAIN = "api-ip" BASE_DOMAIN = ".bb.com.br/pagamentos-lote/v1" def _valida_lote_data(self, model, **kwargs): diff --git a/bb_wrapper/wrapper/pix_cob.py b/bb_wrapper/wrapper/pix_cob.py index 73fd96a7..4116af86 100644 --- a/bb_wrapper/wrapper/pix_cob.py +++ b/bb_wrapper/wrapper/pix_cob.py @@ -10,7 +10,7 @@ class PIXCobBBWrapper(BaseBBWrapper): """ SCOPE = "cob.read cob.write pix.read pix.write" - + BASE_SUBDOMAIN = "api-pix" BASE_DOMAIN = ".bb.com.br/pix/v2" def listar_pix(self, inicio=None, fim=None, page=0):