Installation
Requirements
- Python: 3.9 or higher
- Dependencies: requests>=2.28.0
Install from PyPI
The easiest way to install the TossPayments Python Server SDK is via pip:
Verify Installation
After installation, verify that the SDK is working correctly:
import tosspayments_server_sdk
print(f"SDK Version: {tosspayments_server_sdk.__version__}")
# Test client initialization (with dummy key)
try:
client = tosspayments_server_sdk.Client(secret_key="test_sk_dummy")
print("✅ SDK installed successfully!")
print(f"Test mode: {client.is_test_mode}")
except Exception as e:
print(f"❌ Installation issue: {e}")
Next Steps
Once installed, proceed to:
- Configuration - Set up your API credentials
- Quickstart - Your first payment integration
- API Reference - Detailed API documentation