Skip to main content
sleetpay is a dependency-free client (Python 3.9+, standard library only).

Resources

checkouts, products, customers, orders, subscriptions, seats, customer_sessions, events, meters, credits, license_keys and licenses mirror the API reference. Methods return the decoded JSON as dictionaries. Lists have an iterate() that walks every page.
For an endpoint not wrapped yet: sleetpay.request("GET", "/api/v1/...", query={...}).

Webhooks

Pass the raw body as bytes or str.

Errors

Migrating from sleet-sdk

Package sleet -> sleetpay, Sleet -> SleetPay, SleetError -> SleetPayError. The constructor is now SleetPay(api_key=..., base_url=...). Source: github.com/sleetpay/sleetpay-sdk.