aiopayme
aiopayme is a modern async Python library for integrating Payme payment system into your application.
Features
- Full Payme Merchant API support
- Async-first — built on
httpx - Familiar router-based webhook handling (inspired by aiogram & FastAPI)
- Dependency injection out of the box
- Sandbox mode support
Installation
Quick Example
from aiopayme import Payme, Router
from aiopayme.types import CheckPerformTransactionCtx
payme = Payme(
merchant_id="your_merchant_id",
secret_key="your_secret_key",
sandbox=True,
)
router = Router()
@router.check_perform_transaction()
async def check_perform(ctx: CheckPerformTransactionCtx):
...