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 inter-pixpy
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",
cert_path="path_to_your_cert_file",
key_path="path_to_your_key_file",
)
cob_payload = {
"calendario": {"expiracao": 3600},
"devedor": {
"cpf": "00000000000",
"nome": "Xoblinha da Silva",
},
"valor": {"original": "100.00"},
"chave": "99999999999999",
"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 Distribution
inter-pixpy-0.0.7.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file inter-pixpy-0.0.7.tar.gz
.
File metadata
- Download URL: inter-pixpy-0.0.7.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 260862d3786c81cd55d8b811619d7438f2d87eff6f355a0a35e1dfcbc590f28c |
|
MD5 | 14d9babfcd6e54667146436809b25efe |
|
BLAKE2b-256 | 2c29fa665b91d00045f9905db0037227c2c09e6662eb338ce211afdbc6b83fb1 |
File details
Details for the file inter_pixpy-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: inter_pixpy-0.0.7-py3-none-any.whl
- Upload date:
- Size: 10.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 | 80c78f1faef4d919f0ca24576be73859fde83e00fdf558f40f93c0fd7c5c58ea |
|
MD5 | 07323870cf004b33886d41409b3c80f8 |
|
BLAKE2b-256 | ab00b68259090d33e54b0c6cffcff667f71c553f57a828184e63d168e33491e2 |