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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inter_pixpy-0.0.1-py3-none-any.whl.
File metadata
- Download URL: inter_pixpy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
640118e2b75cf74b54480fcfc9b83199be66cff865c0388d2408b2dab5f59397
|
|
| MD5 |
3e959d8baa1e28b61872721cd2376aab
|
|
| BLAKE2b-256 |
f5f09b19b7c71cd67133c1780b818e84e5ac0abe9e87baec69d8e4c58452468f
|