Unofficial Python Library for Robokassa Payments
π³ Fast & Secure Payment Integration with Just a Few Lines of Code!
π¬ We now have a library discussion on Telegram! - https://t.me/robokassa_for_python
βοΈ Easy Payment Link Generation
βοΈ Secure Transactions with Hash Algorithms
βοΈ Supports all available Hashes
βοΈ Simple and Fast Integration
pip install robokassafrom robokassa import HashAlgorithm, Robokassa
robokassa = Robokassa(
merchant_login="my_login",
password1="password",
password2="password",
is_test=False,
algorithm=HashAlgorithm.md5,
)
payment_link = robokassa.generate_open_payment_link(out_sum=1000, inv_id=0)
print(payment_link)Async methods available for advanced actions:
from robokassa.types import InvoiceType
my_link = await robokassa.generate_protected_payment_link(
invoice_type=InvoiceType.REUSABLE, inv_id=233, out_sum=1000
)π Full Documentation (in Russian):
π Read the Docs
π Found this project useful? Show some β€οΈ by giving it a star!
Made with β€οΈ for seamless payment integration.
