Skip to main content

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.5.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

monopay-0.0.5-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file monopay-0.0.5.tar.gz.

File metadata

  • Download URL: monopay-0.0.5.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

Hashes for monopay-0.0.5.tar.gz
Algorithm Hash digest
SHA256 fd87589dd7d07d0cb6797567a1b2cb4becb5d2d463f1787d7049385efc9a995f
MD5 f3b55ac9300284dfb65362f4766bd4d8
BLAKE2b-256 8533a99b6e055d86da67f04c140ab33cd40afd620198adb243a057cf24fa8f4d

See more details on using hashes here.

File details

Details for the file monopay-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: monopay-0.0.5-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

Hashes for monopay-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 46a3fc1d538ab1836e35f8fe7fe8f65825aaec2228bcf35c5a39771ec3e0d338
MD5 f2ed9f97ac32db380b2c491da706048b
BLAKE2b-256 f73adf7bee814f3876af1fc589d029333abc22f0aacebe25640e6d8a19787758

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page