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.3.tar.gz
(14.5 kB
view details)
Built Distribution
monopay-0.0.3-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file monopay-0.0.3.tar.gz
.
File metadata
- Download URL: monopay-0.0.3.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 | ef68f3f222271d84890b3f46633e3e8344027e53a657b32a1f42b6e3d99948be |
|
MD5 | cc94755e9ef281fb88fccaa81d65d8a4 |
|
BLAKE2b-256 | 33093acb6f71cbab1c3d322d61d962f19a1090be08639786b6e6f738adbc7d74 |
File details
Details for the file monopay-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: monopay-0.0.3-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 | 9d3fa3e7ea461b53ed7f7a8ce5c084c8f8e00b38f5e21ba740b22c06c53839af |
|
MD5 | 8558bd209f17daf287b64f4ea7be67cb |
|
BLAKE2b-256 | e50250c694469ca356665173d991508cb7c52fa8823528c2ba347b242cc100f7 |