PYTHON SDK · MIT

Crypto payments, in Python.

A lightweight client for your backend or scripts. Talk to your Wholly Crypto installation without adding runtime dependencies.

Install with pip

Requires Python 3.10+. Use a virtual environment for your application.

python -m pip install whollycrypto

From invoice to payment

  • Create invoices and retrieve checkout URLs
  • Read invoice status and available payment assets
  • Verify signed IPN and webhook requests
  • Use idempotency keys when retrying invoice creation

Use your own API.

Connect with your installation’s API URL and a project-restricted API credential. Find Project/Store API IDs in Store → Basic. Keep credentials in server-side configuration.

Verify notifications using the unmodified body and the correct secret: the store’s IPN secret or the individual webhook endpoint’s secret. Check invoice settlement before fulfilling an order.

API reference → · IPN & webhooks → · All SDKs →