pyCryptomusAPI
Python implementation of Cryptomus and Heleket public API
If you found a bug or have a feature request, just create an issue!
Installation
Installation using pip (a Python package manager):
$ pip install pyCryptomusAPI
Usage
Everything is as simple as the API itself.
- Create pyCryptomusAPI or pyHeleketAPI instance
- Access API methods in pythonic notation (e.g. "Creating an invoice" -> create_invoice())
- Most methods return result as correspondent class, so you can access data as fields
from pyCryptomusAPI import pyCryptomusAPI
client = pyCryptomusAPI(
"xxxx-xxxx-xxxx-xxxx-xxxx", # Merchand UUID
payment_api_key="xxxxxxx", # Payment API key (for payment methods)
payout_api_key="xxxxxxx") # Payout API key (for payout methods)
balance = client.balance()
for item in balance.merchant:
print("Merchant balance: {} {}".format(item.balance, item.currency_code))
Available methods include:
- Payments: create_invoice(), create_wallet(), payment_qr_code(), wallet_qr_code(), block_wallet(), block_wallet_refund(), payment_information(), refund(), resend_payment_webhook(), test_payment_webhook(), payment_history(), payment_services(), mark_payment_as_paid()
- Payouts: create_payout(), payout_information(), payout_history(), payout_services(), transfer_to_personal(), transfer_to_business(), test_payout_webhook()
- Recurring payments: create_recurrence(), recurrence_information(), recurrence_history(), cancel_recurrence()
- Webhooks: process_payment_webhook(), process_payout_webhook(), test_payment_webhook(), test_wallet_webhook(), test_payout_webhook()
- Other: balance()
Exceptions
Exceptions are raised using pyCryptomusAPIException class.
Metadata
Release files for pyCryptomusAPI 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pycryptomusapi-1.2.0.tar.gz | 19.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycryptomusapi-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.0 kB
Release files / pycryptomusapi-1.2.0.tar.gz
| Download URL | pycryptomusapi-1.2.0.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54862039b8204148f82703925645ed112fbe69eb616a788865d6fdbb4f30a9e2
|
|
BLAKE2b-256 checksum How to use checksums |
03a39cf9e6a9f64a974624b7c375f1f71ceb58dfd78a7d2c13cccdf0f25fa77b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.0
|
Release files / pycryptomusapi-1.2.0-py3-none-any.whl
| Download URL | pycryptomusapi-1.2.0-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ff0524afac83b29362991316cbe270f67d8f20ae545d89242edf21c0ffd4bd6
|
|
BLAKE2b-256 checksum How to use checksums |
10ea855657071df5d00ff9499c6767923192b17f4d3700ecd1e9d138d2c0b90f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.0
|
Security for pyCryptomusAPI 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.