PyPayment
PyPayment is a wrapper for payment provider APIs
Main idea – unified interface for every provider
This library simplifies payment integration
Supported Providers
📦 Installation
Install the latest version with PyPI
pip install -U pypayment
🚀 Quickstart
from pypayment import Payment, QiwiPayment, PaymentStatus
QiwiPayment.authorize("my_secret_key")
payment: Payment = QiwiPayment(amount=100)
print(payment.url)
while payment.status != PaymentStatus.PAID:
input("Press Enter to update payment status...")
payment.update()
print("Payment is completed!")
print(payment.income)
[!NOTE]
For more details see documentation
👥 Contributing
Contributions are welcome! Here's how you can help:
- Fork it
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
- Get your code reviewed
- Merge your code
- Get a 🌟
📝 License
This project is licensed under the MIT License - see the LICENSE file for details