Python Sync/Async library for work with Monobank acquiring api
Project description
MonoPay Python SDK
Installation
Install the current version with PyPi:
pip install monopay-api
Or from GitHub:
pip install https://github.com/yeghorkikhai/monopay-python-api
Getting Statring
from monopay import MonoPay
monopay = MonoPay(api_token='<X-Token>')
result = monopay.invoice.create(
amount=100
)
# get page url
print(result.page_url)
# get invoice id
print(result.invoice_id)
Methods
- Merchant
from monopay import MonoPay
monopay = MonoPay(api_token='<X-Token>')
monopay.merchant.statement
monopay.merchant.details
monopay.merchant.pubkey
- Invoices
from monopay import MonoPay
monopay = MonoPay(api_token='<X-Token>')
monopay.invoice.create
monopay.invoice.cancel
monopay.invoice.split
monopay.invoice.status
monopay.invoice.info
monopay.invoice.invalidation
monopay.invoice.finalize
- QR cash registers
- Wallet
Responses
- InvoiceCreatedResponse
- InvoiceCanceledResponse
- InvoiceStatusResponse
- InvoiceInfoResponse
- SplitInvoiceResponse
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
monopay-0.0.6.tar.gz
(14.5 kB
view details)
Built Distribution
monopay-0.0.6-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file monopay-0.0.6.tar.gz
.
File metadata
- Download URL: monopay-0.0.6.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.4.0-144-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31a86608f0884f2c767e8c117e7675cbc85c379f63bebd3ce0c7aee781a288e |
|
MD5 | 44eeba6c4551645f9882886d4e6b79bf |
|
BLAKE2b-256 | aea9e8c550abde86e6c871db7b290cfab69e30f7a8d5ff130fab0b91a831bf40 |
File details
Details for the file monopay-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: monopay-0.0.6-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.4.0-144-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cecbadced475991b190555a96045e7f463f12b6cdd7bf2747e1148554a89a14 |
|
MD5 | 27b9e87c53b082f22841b535b9eea4bc |
|
BLAKE2b-256 | 1101e274a2e0c9da1001cb6ca685fd47429d50abdfdab227635a3416b8704e64 |