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
Release history Release notifications | RSS feed
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.1.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file WalletPay-1.1.tar.gz.
File metadata
- Download URL: WalletPay-1.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b43245d755e1a20bb18bbc8e184069a06996d90d40d55042948d5f75762886b9
|
|
| MD5 |
53a68c77737cdfb4bf789ae29d65f89e
|
|
| BLAKE2b-256 |
60de06452b9f662b5210c91f7f1d2bdbddbedc7b7ba036ac96db06a1776ead2b
|
File details
Details for the file WalletPay-1.1-py3-none-any.whl.
File metadata
- Download URL: WalletPay-1.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29ce2c53ec75e455d0dd721074d76047ab1a851d813917edd858ff964dcc6db1
|
|
| MD5 |
7c682fd48284a30d0f53b8787967dfce
|
|
| BLAKE2b-256 |
34fb955642702ddf7701092cf12b6ef64af6ed87cca28e7bd6365f1fa95aa46b
|