A Python package to interact with the Banco Inter's Pix API
Project description
InterPixPy
This library provides developers with a simple way to interact with the Banco Inter's Pix API.
Requirements
Python 3 or higher
Installation
pip install interpixpy
Usage
import interpixpy
sdk = interpixpy.SDK(
client_id="your_app_client_id",
client_secret="your_app_client_secret",
grant_type="grant_type",
scope="your_app_scope"
)
cob_payload = {
"calendario": {
"expiracao": 3600
},
"devedor": {
"cpf": "00000000000",
"nome": "Fulano de Tal"
},
"valor": {
"original": "100.00"
},
"chave": "00000000000", # Chave Pix do recebedor
"solicitacaoPagador": "Pagamento dos serviços prestados."
}
result = sdk.cob().create(cob_payload)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for inter_pixpy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640118e2b75cf74b54480fcfc9b83199be66cff865c0388d2408b2dab5f59397 |
|
MD5 | 3e959d8baa1e28b61872721cd2376aab |
|
BLAKE2b-256 | f5f09b19b7c71cd67133c1780b818e84e5ac0abe9e87baec69d8e4c58452468f |