Paddle

1.13.0 · active · verified Sun Mar 01

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.

Warnings

Install

Imports

Quickstart

Paddle Billing SDK. Import module is paddle_billing, not paddle.

from paddle_billing import Client

paddle = Client('PADDLE_API_SECRET_KEY')

# List products
products = paddle.products.list()
for product in products:
    print(f'{product.id}: {product.name}')

# Verify webhook signature
from paddle_billing.Notifications import Secret, Verifier

integrity_check = Verifier().verify(request, Secret('WEBHOOK_SECRET_KEY'))

view raw JSON →