Skip to main content

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)

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

If you're not sure about the file name format, learn more about wheel file names.

inter_pixpy-0.0.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

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

Hashes for inter_pixpy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 640118e2b75cf74b54480fcfc9b83199be66cff865c0388d2408b2dab5f59397
MD5 3e959d8baa1e28b61872721cd2376aab
BLAKE2b-256 f5f09b19b7c71cd67133c1780b818e84e5ac0abe9e87baec69d8e4c58452468f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

This release

0.0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page