Skip to main content

No project description provided

Project description

WalletPay API Client

A Python client for interacting with the WalletPay API.

Installation

Install the package using pip:

pip install WalletPay

Usage

from WalletPay import WalletPayAPI

# Initialize the API client
api = WalletPayAPI(api_key="YOUR_API_KEY")

# Create an order
order = api.create_order(
    amount=100,
    currency_code="USD",
    description="Test Order",
    external_id="12345",
    timeout_seconds=3600,
    customer_telegram_user_id="telegram_user_id"
)

# Get order preview
order_preview = api.get_order_preview(order_id="ORDER_ID")

# Get order list
orders = api.get_order_list(offset=0, count=10)

# Get order amount
amount = api.get_order_amount()

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

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

WalletPay-1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

WalletPay-1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file WalletPay-1.0.tar.gz.

File metadata

  • Download URL: WalletPay-1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for WalletPay-1.0.tar.gz
Algorithm Hash digest
SHA256 b232c3c550ea9ce85dc7dcf9d7de2ba0c626cc3ff374c37afef9a445cd82f93f
MD5 054e5432f82e1ac5dc14d1c0da7fe26d
BLAKE2b-256 af2ee749372f76c5a9bbfddc5ec9539295e13f7ddc1167418d19be8fa3f45907

See more details on using hashes here.

File details

Details for the file WalletPay-1.0-py3-none-any.whl.

File metadata

  • Download URL: WalletPay-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for WalletPay-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec6890222e2bb37bdb4d30ccb6fc8de684b697d4366a92786d4870d3e9d53a69
MD5 9516bfb91ee92dca2947a03f35ef1966
BLAKE2b-256 ee78c6d5a8c2b45c3de814117f3023b82146fe65fe4c7cb1e584d3a43c5e817d

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