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
Metadata
Release files for monopay 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| monopay-0.0.6.tar.gz | 14.5 kB | Without provenance | Details for monopay-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| monopay-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for monopay-0.0.6-py3-none-any.whl |
Total release size: 25.7 kB
Release files / monopay-0.0.6.tar.gz
| Download URL | monopay-0.0.6.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b31a86608f0884f2c767e8c117e7675cbc85c379f63bebd3ce0c7aee781a288e
|
|
BLAKE2b-256 checksum How to use checksums |
aea9e8c550abde86e6c871db7b290cfab69e30f7a8d5ff130fab0b91a831bf40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.10 Linux/5.4.0-144-generic
|
Release files / monopay-0.0.6-py3-none-any.whl
| Download URL | monopay-0.0.6-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cecbadced475991b190555a96045e7f463f12b6cdd7bf2747e1148554a89a14
|
|
BLAKE2b-256 checksum How to use checksums |
1101e274a2e0c9da1001cb6ca685fd47429d50abdfdab227635a3416b8704e64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.10 Linux/5.4.0-144-generic
|
Security for monopay 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.