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

Uploaded Source

Built Distribution

monopay-0.0.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: monopay-0.0.2.tar.gz
  • Upload date:
  • Size: 14.6 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.2.tar.gz
Algorithm Hash digest
SHA256 a0ae6b5551d2e8dbfaaa355aaac76c6256190061f20f6b0365455400744c88d8
MD5 3914ee1eaf2cbde94c90fd3c3a641452
BLAKE2b-256 e183eee01d1c0534e6550e5c831d9ff43c8b6af51c3273b4407c95cab7eb73df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: monopay-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b24c5f292b64d919ada1cfc4e492d4e1063c87c71b669a841fc3bc009641b550
MD5 36ec560eaffa2467f32434416bcb60e3
BLAKE2b-256 d978080c2afa74ee16d6cd4053d7bd65866190a4902070fa966bd1a4e3c8f993

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