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.1.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.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_mono_bank_pay-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4dd556de3336bef5b93c6c427d8761202b34ba64552ad8ef322ccc451454b93d
MD5 55f175f77b43ad45ef3fdbf3070cf585
BLAKE2b-256 9250ccc201870bb07413e0349d6f6bc836229fe4a456526c304593512f122f7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_mono_bank_pay-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 437e2293fd7ab847a536c471258a5ad533eb7555bcde148d2cdd5f7679b35462
MD5 8691cd7177071b7af320ed8a25e58c10
BLAKE2b-256 706348d2629b81a5d45baf112a3d94c9a66a739af100589647cb4f680d4931b4

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