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.4.tar.gz
(14.5 kB
view details)
Built Distribution
monopay-0.0.4-py3-none-any.whl
(11.2 kB
view details)
File details
Details for the file monopay-0.0.4.tar.gz
.
File metadata
- Download URL: monopay-0.0.4.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 | 7bf2477bea14a59a5272919686da71038864a0cf6168a1cb7d42eb6d9922093a |
|
MD5 | 43209063f6a66fe2c08c46822de154a3 |
|
BLAKE2b-256 | 93fa89d0d933a95af64885659d7cf627d67ec03be43361bfa1c49eab18303d42 |
File details
Details for the file monopay-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: monopay-0.0.4-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 | 90b892b2bdcf0a8eb2d8166821f841eb35ce9e8f7d860dca12d15ceb1e887ec3 |
|
MD5 | 987c6412d38aab88ad38bbe47808b6f3 |
|
BLAKE2b-256 | 12fa7ea0608b7869eefbd082e30dce0c9d59dd4fe54a4e46768dcc4dd24fdd0d |