Skip to main content

Project Version License

Typing SVG

What are Cryptomus crypto payment gateway features?

🛡 Volatility protection

Automatic conversion of incoming payments into stablecoins will protect against cryptocurrency volatility.
The Withdrawal auto-convert feature allows you to withdraw your crypto in a preferred currency, and both features are completely free to use!

⚙ Transactions status management

  • Adjust the allowed payment accuracy.
  • View if an invoice has been overpaid or underpaid and send an additional invoice to collect a remaining amount.

% Flexible commissions for each coin

Set additional commissions or add a discount for chosen coins.


💬 Support team

  • Telegram
  • Email
  • Our website in the form of tickets
  • As a personal manager for our merchants

📄 Mass payouts

Make mass payouts to thousands of addresses with automatic conversion in just one moment.
All features


About This Project

This project is written on pure enthusiasm, I want this library to be usable and used regularly. This project has the ability to run synchronously or asynchronously, which makes it more flexible. The project will be maintained and improved, and you can buy me a coffee :) Thanks, have a good day!

Buy Me A Coffee

Installation

[!WARNING] Current Version in DEV. MODE (beta. u know.)

  • Installation using the pip package manager
$ pip install CryptomusAPI
  • Install from GitHub (requires git)
$ git clone https://github.com/Fsoky/CryptomusAPI
$ cd CryptomusAPI
$ python setup.py install
  • Or
$ pip install git+https://github.com/Fsoky/CryptomusAPI

Get Started

[!TIP] Refer to the documentation in any unclear situation: https://doc.cryptomus.com/
To get MERCHANT_ID and API_KEY register and send an application to https://cryptomus.com/

⚠ Make sure you have a ready project in which you will connect Cryptomus otherwise the key will not be issued!

import asyncio
from CryptomusAPI import CryptomusClient

api = CryptomusClient("MERCHANT-UUID", "API-KEY")


async def main() -> None:
    invoice = await api.create_invoice(
        amount=10,
        currency="USDT"
        network="tron",
        lifetime=300
    )
    print(invoice.url)

    await api.session.close()


if __name__ == "__main__":
    asyncio.run(main())

Metadata

Release files for CryptomusAPI 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CryptomusAPI 1.0.2
File Size Uploaded
cryptomusapi-1.0.2.tar.gz 9.4 kB Details

Release files / cryptomusapi-1.0.2.tar.gz

Download URL cryptomusapi-1.0.2.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
07507d6e838d8a10c720cd0f8f01cdb1982c1848c4970d831fb74eb5493aaf32
BLAKE2b-256 checksum
How to use checksums
660b130586f9977fde5a5cda325f06686df110cea2795c1974a72c32ca3e6323
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.0

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page