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.8.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.8-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robokassa-1.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 09755e9c1c92dc7148e0fceda6b2bdfc0393acbc5723642da071c2a8a01e5cc5
MD5 a89d48572c350186e180bff8f89b7d16
BLAKE2b-256 218c66d6a2542a0ed07f99daac4712167e4b49ecf13443c22a7db1795e0cf269

See more details on using hashes here.

File details

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

File metadata

  • Download URL: robokassa-1.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5732dfbe261308241ecbe1e6a02f0d33c547747c987f43433e5d11f1319b8cd0
MD5 b22922688a47b7a4f59ff14283af30c3
BLAKE2b-256 c6fbc5651051201d5b2f5deefb47d2cbe3c92d2adc43882bb7241a93d51861e1

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