Skip to main content

Python client for OmidPay payment gateway

Project description

Omidpay Python

Python client for the OmidPay payment gateway with both synchronous and asynchronous clients.

Base URL

https://ref.omidpayment.ir/ref-payment/RestServices/mts/

Project Directory

omidpay-python/
├── pyproject.toml
├── README.md
├── LICENSE
├── .gitignore
└── src/
    └── omidpay/
        ├── __init__.py
        ├── client.py
        ├── config.py
        ├── exceptions.py
        │
        ├── http/
        │   ├── __init__.py
        │   ├── base.py              # abstract base http client
        │   ├── sync_client.py
        │   └── async_client.py
        │
        ├── resources/
        │   ├── __init__.py
        │   ├── base.py
        │   ├── auth.py
        │   ├── bill.py
        │   └── transactions.py
        │
        └── models/                  # schemas & enums
            ├── __init__.py
            ├── base.py
            ├── requests.py
            ├── responses.py
            └── enums.py
  • Initial release
  • Payment flow implementation (token generation, verification, reversal)
  • sync and async support

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

omidpay-0.1.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omidpay-0.1.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file omidpay-0.1.1.tar.gz.

File metadata

  • Download URL: omidpay-0.1.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for omidpay-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7c0ad1e3c26606d2361a5bf13eb1f6f60b703f6128cd1fbf8343e1cdf55d440c
MD5 52c61f7352e4e1d69dd5882f75635b8f
BLAKE2b-256 343692dbbac04dbdc2cf0d482448f50b7553fd8ff739e76f1b5eebf9fb151b37

See more details on using hashes here.

File details

Details for the file omidpay-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: omidpay-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for omidpay-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b23a2653fba1cecfeededb47ab1d1d9cd8394098fab4007d904865da521c21b1
MD5 f769c312955658a57daaadb0bc67ec35
BLAKE2b-256 bc70a45adc3e21f6131b0029a7804bdb28ff1310f7567df450457bdf919d92dc

See more details on using hashes here.

Supported by

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