Skip to main content

Unofficial Robokassa API

Project description

Robokassa API

🚀 Robokassa API

Unofficial Python Library for Robokassa Payments
💳 Fast & Secure Payment Integration with Just a Few Lines of Code!

PyPI Version Downloads License


💬 We now have a library discussion on Telegram! - https://t.me/robokassa_for_python

🎨 Features

✔️ Easy Payment Link Generation
✔️ Secure Transactions with Hash Algorithms
✔️ Supports all available Hashes
✔️ Simple and Fast Integration


📦 Installation

pip install robokassa

⚡ Quick Start

from 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
)

📖 Documentation

📚 Full Documentation (in Russian):
🔗 Read the Docs


🌟 Contribute & Support

🚀 Found this project useful? Show some ❤️ by giving it a star!


Made with ❤️ for seamless payment integration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robokassa-1.0.7.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robokassa-1.0.7-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file robokassa-1.0.7.tar.gz.

File metadata

  • Download URL: robokassa-1.0.7.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.13 Linux/6.11.0-1018-azure

File hashes

Hashes for robokassa-1.0.7.tar.gz
Algorithm Hash digest
SHA256 cfcb3e8901a57f75c56b0a9007f96136c830a8de8b1686645beaf20015fa1e66
MD5 5f868a2aa6b045a3be9276b0d55ca9e1
BLAKE2b-256 00f00d51c3a92cb198509fe53567aac3dc47d5ae758df6d2647a65ef50628d29

See more details on using hashes here.

File details

Details for the file robokassa-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: robokassa-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.13 Linux/6.11.0-1018-azure

File hashes

Hashes for robokassa-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 037c9e03ca3bf223c9d1ad2283693d0ab5fb889a55f2b5fbf8204858eca3a3fa
MD5 2ef591eb15a28d69f6a7b6b428e96960
BLAKE2b-256 78904f10544922ec5dbe18617961d68dcc841cb403f76db87716302da11c0043

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page