Skip to main content

Python SDK for ibanoplata.com API

Project description

IBAN Oplata API client ✍

PyPI PyPI - Python Version PyPI - License


Documentation: https://docs.google.com/document/d/1u4pARzom4oM9gYB7yGd_W5upJSvEk9KJNSc-K0XpMy0/edit?tab=t.0#heading=h.hnxvx03248a6

Source Code: https://github.com/DmytroLitvinov/python-iban-oplata

PyPI: https://pypi.org/project/iban-oplata/


Python API wrapper around IBAN Oplata API. Feel free to contribute and make it better! 🚀

Installation

pip install iban-oplata

Usage

  1. Create your account at IBAN Oplata and generate API token.

  2. Use that token to initialize client:

from iban_oplata import IBANOplataAPIClient

token = 'your_api_token_here'

dummy_data = {
    'organization_name': 'Test organization',
    'identification_code': '12345678',
    'iban': 'UA213223130000026007233566001',
    'amount': 100.75,
    'payment_purpose': 'Test invoice via iban-oplata python SDK',
}

iban_oplata = IBANOplataAPIClient(token)

response = iban_oplata.create_invoice(dummy_data)
iban_invoice_url = response.data['ibanInvoiceUrl']
print(f'IBAN Invoice URL: {iban_invoice_url}')

License

This project is licensed under the terms of the MIT license.

HOW TO MAKE A RELEASE

Prepare build packages:

  • pip install build

  • pip install twine

  • Add changes to CHANGELOG.md

  • Change version in iban_oplata/__init__.py and pyproject.toml

  • source .env/bin/activate

  • python3 -m build --sdist --wheel

  • twine upload dist/*

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

iban_oplata-0.0.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

iban_oplata-0.0.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file iban_oplata-0.0.2.tar.gz.

File metadata

  • Download URL: iban_oplata-0.0.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for iban_oplata-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3c1d50b8203e9dfd967024fd81706392b579126eba62f1b96ff398ef4f5d90a6
MD5 a37ea53a2fdbe7e96a6ab4af5fe0cdb8
BLAKE2b-256 61f95e1f6e539a077a09453b18cac8ee1b75af03ea21be1a57b0e425995b79fe

See more details on using hashes here.

File details

Details for the file iban_oplata-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: iban_oplata-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for iban_oplata-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c1612589f7cd274467d14925103f7ed6f5be3c07f63a44722cf066269604365
MD5 ee648ebe6ab71a23396c1b24694ac14b
BLAKE2b-256 d5ec8d87e705d310867e218d5b01fe4a69c05b71d619a2b98ea845113b7b45ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page