Skip to main content

A client library for Monobank merchant API

Project description

py_mono_bank_pay

A client library for Monobank merchant API.

Installation

Install the package using pip:

pip install py_mono_bank_pay

Usage

from py_mono_bank_pay import Client, Payment, Webhook

Initialize Client

client = Client('your_token')

Use the Client

merchant_id = client.get_merchant_id()

merchant_name = client.get_merchant_name()

print(f'Merchant ID: {merchant_id}, Merchant Name: {merchant_name}')

Initialize Payment

payment = Payment(client)

invoice = payment.create(1000)

print(invoice)

Initialize Webhook

webhook = Webhook(client)

is_verified = webhook.verify()

print(is_verified)

##License This project is licensed under the MIT License - see the LICENSE file for details.

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

py_mono_bank_pay-0.0.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

py_mono_bank_pay-0.0.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file py_mono_bank_pay-0.0.3.tar.gz.

File metadata

  • Download URL: py_mono_bank_pay-0.0.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.2

File hashes

Hashes for py_mono_bank_pay-0.0.3.tar.gz
Algorithm Hash digest
SHA256 dba17f584f3a55d1900c44d5aa395cfc11f6eb92e3abada28659ae79d5db6b5c
MD5 e351df76f9c342a6249b5ad3f211cff8
BLAKE2b-256 5175b987b12501fd76aeb0f4b515afbad701628322b93578173cbfde71143310

See more details on using hashes here.

File details

Details for the file py_mono_bank_pay-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for py_mono_bank_pay-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 88abae14a2694bfebf29acdeb886de372c97036bdf0863abba5fc7c4d21a370a
MD5 23cf58690faed66d938088969dbca01a
BLAKE2b-256 f92067335255c1ce1985ac43ee1af771f609b1ef3153cb2655fa7f59b9a55501

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