Skip to content

Biblioteca pix-recebimento do Itaú gerada pelo swagger codegen

Notifications You must be signed in to change notification settings

eduardomazolini/pix-recebimento-itau

Repository files navigation

pix-recebimento-itau

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

Requirements

Python 2.7 and 3.4+

Installation & Usage

pip install

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 

Setuptools

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

Getting Started

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)

Documentation for API Endpoints

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}

Documentation For Models

Documentation For Authorization

OAuthAccessCode

OAuthImplicit

Author

config.json

{
    "packageName" : "pix_recebimento_itau",
    "modelPackage" : "pix_model",
    "apiPackage" : "pix_recebimento",
    "library" : "asyncio"
}

Executar o swagger

java -jar swagger-codegen-cli.jar generate -i swagger-pix-recebimentos.json  -l python -o pix_recebimentos -c config.json

About

Biblioteca pix-recebimento do Itaú gerada pelo swagger codegen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published