Installation
Install the Solifyn Python SDK directly from PyPI:Terminal
Terminal
Quickstart
Initialize the API client by configuringsolifyn.Configuration with your access token.
main.py
Main API Classes
The Python client partitions endpoints into specific API classes. Instantiate them with yourApiClient instance:
solifyn.ProductsApi- Manage products and addonssolifyn.LicenseApi&solifyn.LicenseKeysApi- Issue, retrieve, and update license keyssolifyn.LicenseKeysClientApi- Public/client-side license validation (licenses_verify) and activation (licenses_activate)solifyn.CheckoutApi- Generate custom checkout sessionssolifyn.CheckoutLinksApi- Generate shareable payment linkssolifyn.CustomersApi- Create and manage customer profilessolifyn.CollectionsApi- Group products into collectionssolifyn.SubscriptionsApi- Manage recurring customer subscriptionssolifyn.DiscountsApi- Create and validate discount codessolifyn.MetersApi- Ingest usage events and manage metered billingsolifyn.DeveloperApi- Manage webhooks and API keyssolifyn.DigitalFileApi- Upload and manage digital download productssolifyn.DisputesApi- Review and upload evidence for transaction disputessolifyn.OrdersApi&solifyn.RefundsChargebacksApi- Retrieve order details and create refunds