WalletLayer Python SDK for server-side hosted checkout integrations.
Project description
WalletLayer Python SDK
WalletLayer Python SDK for server-side checkout integrations.
This package is free to use. WalletLayer billing is based on confirmed checkout transactions and the active plan on your WalletLayer account.
Setup
- Create a WalletLayer merchant account.
- Create an API key from the dashboard with your brand name, logo, support email, and enabled currencies.
- Copy the API secret when it is shown. It is displayed once only.
- Install the Python SDK with your package manager or download the package zip.
- Store the API key, API secret, WalletLayer API URL, and local encryption settings in your server environment.
- Keep all secrets on your backend only. Do not place the API secret in templates, frontend code, mobile apps, notebooks shared publicly, or public repositories.
- Activate the SDK from your backend using signed API credentials.
- Create the checkout session from your backend and redirect the customer to the hosted WalletLayer checkout URL.
- After your webhook endpoint is available, add the webhook URL in the API key settings inside WalletLayer.
- Verify WalletLayer payment events before crediting an order, subscription, wallet balance, or customer account.
Security Notes
- All operational API communication must be signed with your API secret.
- Wallet mnemonics, encryption keys, treasury private keys, and sweep signing material must remain on your server.
- If your integration performs local sweeping, estimate live network gas at sweep time and add a small buffer, usually about 10%, instead of using a fixed hardcoded gas amount.
- WalletLayer should receive only the checkout and public payment metadata required to process the hosted checkout.
- Review the package source before production use and pin versions in your deployment pipeline.
Billing Notes
The Free plan includes a small monthly transaction allowance. Paid plans increase the included monthly volume. When a plan allowance is exceeded, WalletLayer can charge overage from the merchant balance. If the balance is insufficient, checkout is disabled until the account is funded or the plan is upgraded.
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
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 walletlayer-0.2.0.tar.gz.
File metadata
- Download URL: walletlayer-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a75925fa3fe6eddcfe7f21e80dc15bca44910017e7caaf02866017a13307d706
|
|
| MD5 |
8ab8e4c6df6989707a6ee3a43ec052a3
|
|
| BLAKE2b-256 |
ffbff2d204c5cb9b11251710f89d63f8efe6d6742ea389ff06d58b1019c47b8a
|
File details
Details for the file walletlayer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: walletlayer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3162b9b95f75fe8e6cbb0e6695c98229a22a1275689332c471aeb01fbb7cb941
|
|
| MD5 |
bc47ae68809d0136f7ffd7888fc7bfcc
|
|
| BLAKE2b-256 |
6f1986f40c99e92cdbeb21488af3eb87974235b8e8f32007a4425c60aca3cb50
|