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)
Metadata
Release files for inter-pixpy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inter_pixpy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for inter_pixpy-0.0.1-py3-none-any.whl |
Release files / inter_pixpy-0.0.1-py3-none-any.whl
| Download URL | inter_pixpy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
640118e2b75cf74b54480fcfc9b83199be66cff865c0388d2408b2dab5f59397
|
|
BLAKE2b-256 checksum How to use checksums |
f5f09b19b7c71cd67133c1780b818e84e5ac0abe9e87baec69d8e4c58452468f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for inter-pixpy 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.