Python SDK
Official SDKs of Python for integrating BagelPay.
π¦ Installation Guide
System Requirements
Python: 3.11 or higher (recommended), minimum 3.8
Package Manager: pip or poetry
Method 1: Install from PyPI (Recommended)
# Install latest stable version
pip install bagelpay
# Upgrade to latest version
pip install --upgrade bagelpayMethod 2: Using Poetry
# Add to your project
poetry add bagelpayMethod 3: Install from Source (Development)
Verify Installation
π Quick Start
βοΈ Basic Configuration
Getting API Keys
Sign up: Create account at BagelPay Dashboard
Navigate: Go to "Developer Settings" β "API Keys"
Create Key: Generate new API key for your environment
Copy: Save your test and live keys securely
Environment: Start with test keys for development
Environment Variables Setup
Client Initialization Options
Environment-Specific Configuration
π Beginner Tutorial
Step 1: Create Your First Product
Step 2: Create a Payment Session
Step 3: Monitor Transactions
Step 4: Manage Products
π§ API Reference
Product Management API
Creating Products
Product Operations
Payment Session API
Advanced Checkout Configuration
Subscription Management API
π Webhook Integration
π Support and Resources
Getting Help
π Official Documentation: https://bagelpay.gitbook.io/docs
π§ Technical Support: support@bagelpayment.com
π Bug Reports: GitHub Issues
π Related Links
Last updated