Official Python SDK for Paddle Billing (the new Paddle platform). PyPI package is paddle-python-sdk, imports as paddle_billing. Requires Python >=3.11. Note: there are two Paddle platforms — Paddle Classic (legacy) and Paddle Billing (current). This SDK is Paddle Billing only.
pip install paddle-python-sdkVerified import paths — ran on the pinned version, not inferred.
Paddle Billing SDK. Import module is paddle_billing, not paddle.
Check your Paddle dashboard. Paddle Classic shows 'Paddle Classic' branding. Billing uses api.paddle.com endpoints. Classic uses vendors.paddle.com. There is no official Python SDK for Paddle Classic — use requests against the REST API directly.
Upgrade to Python 3.11+.
from paddle_billing import Client
Generate separate API keys in your Paddle Sandbox account and your live account.
Iterate with for product in paddle.products.list() or convert with list(paddle.products.list()).
Install the SDK using `pip install paddle-python-sdk`. Ensure your import statements correctly reference `paddle_billing`, e.g., `from paddle_billing import Client`.
Verify your Paddle Billing API key is correct and has the required permissions. Ensure it's passed correctly when initializing the SDK client.
Initialize the `Client` with your API key, for example: `from paddle_billing import Client; client = Client(api_key='YOUR_API_KEY')`.