Skip to main content

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

  1. Create a WalletLayer merchant account.
  2. Create an API key from the dashboard with your brand name, logo, support email, and enabled currencies.
  3. Copy the API secret when it is shown. It is displayed once only.
  4. Install the Python SDK with your package manager or download the package zip.
  5. Store the API key, API secret, WalletLayer API URL, and local encryption settings in your server environment.
  6. 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.
  7. Activate the SDK from your backend using signed API credentials.
  8. Create the checkout session from your backend and redirect the customer to the hosted WalletLayer checkout URL.
  9. After your webhook endpoint is available, add the webhook URL in the API key settings inside WalletLayer.
  10. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

walletlayer-0.2.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

walletlayer-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for walletlayer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a75925fa3fe6eddcfe7f21e80dc15bca44910017e7caaf02866017a13307d706
MD5 8ab8e4c6df6989707a6ee3a43ec052a3
BLAKE2b-256 ffbff2d204c5cb9b11251710f89d63f8efe6d6742ea389ff06d58b1019c47b8a

See more details on using hashes here.

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

Hashes for walletlayer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3162b9b95f75fe8e6cbb0e6695c98229a22a1275689332c471aeb01fbb7cb941
MD5 bc47ae68809d0136f7ffd7888fc7bfcc
BLAKE2b-256 6f1986f40c99e92cdbeb21488af3eb87974235b8e8f32007a4425c60aca3cb50

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