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 hashes)
Built Distribution
monopay-0.0.6-py3-none-any.whl
(11.2 kB
view hashes)