APis Pix Recebimentos para Clientes (regulatórias).
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.40.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import pix_recebimento_itau
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import pix_recebimento_itau
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import pix_recebimento_itau
from pix_recebimento_itau.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: OAuthAccessCode
configuration = pix_recebimento_itau.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# Configure OAuth2 access token for authorization: OAuthImplicit
configuration = pix_recebimento_itau.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = pix_recebimento_itau.DefaultApi(pix_recebimento_itau.ApiClient(configuration))
chave = 'chave_example' # str | Chave de endereçamento do recebedor
x_correlation_id = 'x_correlation_id_example' # str | Identificador de correlação que serve como um agrupar dentro da estrutura de audit trail (optional)
try:
api_instance.d_elete_webhookchave(chave, x_correlation_id=x_correlation_id)
except ApiException as e:
print("Exception when calling DefaultApi->d_elete_webhookchave: %s\n" % e)
All URIs are relative to https://sandbox.mbi.cloud.ihf/sandbox/pix_recebimentos/v1
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | d_elete_webhookchave | DELETE /webhook/{chave} | |
DefaultApi | g_et_cob | GET /cob | |
DefaultApi | g_et_cobtxid | GET /cob/{txid} | |
DefaultApi | g_et_cobtxidqrcode | GET /cob/{txid}/qrcode | |
DefaultApi | g_et_pix | GET /pix | |
DefaultApi | g_et_pixe2eid | GET /pix/{e2eid} | |
DefaultApi | g_et_pixe2eiddevolucaoid | GET /pix/{e2eid}/devolucao/{id} | |
DefaultApi | g_et_webhook | GET /webhook | |
DefaultApi | g_et_webhookchave | GET /webhook/{chave} | |
DefaultApi | p_atch_cobtxid | PATCH /cob/{txid} | |
DefaultApi | p_ut_cobtxid | PUT /cob/{txid} | |
DefaultApi | p_ut_pixe2eiddevolucaoid | PUT /pix/{e2eid}/devolucao/{id} | |
DefaultApi | p_ut_webhookchave | PUT /webhook/{chave} |
- Cobranca
- CobrancaPatchRequest
- CobrancaPatchResponse
- CobrancaPatchResponseCalendario
- CobrancaPutRequest
- CobrancaPutRequestCalendario
- CobrancaPutResponse
- Cobrancas
- CobrancasCalendario
- CobrancasCobs
- CobrancasDevedor
- CobrancasInfoAdicionais
- CobrancasParametros
- CobrancasParametrosPaginacao
- CobrancasValor
- DevolucaoPix
- DevolucaoPutRequest
- DevolucaoPutResponse
- DevolucaoPutResponseHorario
- Pix
- Pixs
- PixsDevolucoes
- PixsHorario
- PixsPagador
- PixsParametros
- PixsParametrosPaginacao
- PixsPix
- Qrcode
- Webhook
- Webhooks
- WebhooksParametros
- WebhooksParametrosPaginacao
- WebhooksWebhooks
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://sts.itau.com.br:443/sandbox/api/oauth/token
- Scopes:
- resource.WRITE:
- resource.READ:
- Type: OAuth
- Flow: implicit
- Authorization URL: https://localhost:8089/api/oauth/authorize
- Scopes:
- resource.WRITE:
- resource.READ:
{
"packageName" : "pix_recebimento_itau",
"modelPackage" : "pix_model",
"apiPackage" : "pix_recebimento",
"library" : "asyncio"
}
java -jar swagger-codegen-cli.jar generate -i swagger-pix-recebimentos.json -l python -o pix_recebimentos -c config.json