Skip to main content

decane-sdk

Official Python SDK for the Decane payment API. Full guide: https://rail.decane.io/sdk-docs/python.md

pip install decane-sdk
from decane import Decane

decane = Decane(api_key="gr_...", api_secret="gr_secret_...", webhook_secret="...")

invoice = decane.invoices.create(amount="100.00", currency="USD", network="tron", crypto_currency="USDT")
print(invoice.payment_url)

event = decane.webhooks.construct_event(raw_body, headers["Decane-Signature"])

AsyncDecane has the same resources, awaited. See CHANGELOG.md for what changed in 0.9.0.

MIT licensed.

Metadata

Release files for decane-sdk 0.9.0

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

Source distribution (sdist)

Source distribution for decane-sdk 0.9.0
File Size Uploaded Provenance
decane_sdk-0.9.0.tar.gz 17.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for decane-sdk 0.9.0
File Interpreter ABI Platform
decane_sdk-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.7 kB

Release files / decane_sdk-0.9.0.tar.gz

Download URL decane_sdk-0.9.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
41e1008f70f538d5b2496733f82eea869517b91ec6bb59e338c1f120086f04e2
BLAKE2b-256 checksum
How to use checksums
8326ef7e462ea06f1b053b801c3bbc6948e8bd7130b8b020e420d7663f45f95d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / decane_sdk-0.9.0-py3-none-any.whl

Download URL decane_sdk-0.9.0-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
36adde6bbe942d464656ecfe42056b67681e66872473d4650ee6d9d9888a0120
BLAKE2b-256 checksum
How to use checksums
0541c83c8d75e71b755d257d14b4745cab4e564311300bd0f868b174c9ab2053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for decane-sdk 0.9.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.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files No provenance

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