Back to Developers
Python SDK

Seamless & Fast
Python SDK

The official Python library for OrvexPay. Built with httpx for modern sync and async support. Perfect for Django, FastAPI, Flask, and data-driven applications.

Why Use the Python SDK?

Sync & Async

Support for both traditional synchronous scripts and modern asynchronous frameworks like FastAPI or Trio.

Modern Typing

Fully type-hinted implementation for excellent developer experience and bug prevention in your IDE.

Quick Integration

Terminal
pip install orvexpay
PyPI
Python Usage Example
from orvexpay import OrvexClient

client = OrvexClient(api_key="your-api-key")

# Create a new payment invoice
invoice = client.create_invoice({
  "priceAmount": "100.00",
  "priceCurrency": "USD",
  "payCurrency": "USDT"
})

print(invoice["id"])

Open Source

The Python SDK is open-source. Found a bug or have a feature request? Join us on GitHub.

View on GitHub

Requirements

Python Version3.7+
httpx^0.23.0