Skip to main content

cryptonatorAPI

Сreate Invoice

api = Api(
      merchant_id='4b8cc73b06e8205f4d212a7a8c0bb6497', 
      secret='b89a02b2801231fc8d60f65fe724448', 
      language='ru')
      
amount = Decimal('0.00015')

invoice_id = api.create_invoice(
      item_name='test_tovar', 
      invoice_amount=amount, 
      invoice_currency='bitcoin') 
      
#returns invoice_id

Check Invoice

status = api.check_invoice(invoice_id)
print(status)

#{'order_id': '2636351', 'amount': '0.00015000', 'currency': 'bitcoin', 'status': 'unpaid'}

https://github.com/Whom-m0rty/cryptonatorAPI/blob/master/example.py

Metadata

Release files for cryptonator-API 0.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 cryptonator-API 0.0
File Size Uploaded Provenance Actions
cryptonator_API-0.0.tar.gz 1.9 kB Without provenance Details for cryptonator_API-0.0.tar.gz

Release files / cryptonator_API-0.0.tar.gz

Download URL cryptonator_API-0.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8728c00169f480c6eb304aeaf486fb6f04909c4b5c72806881d93274fa98435d
BLAKE2b-256 checksum
How to use checksums
5556fec152c9012a0ce413bfdecbe34ecb4540b682a619bc2ca27c6fb5269e11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

Security for cryptonator-API 0.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.0 This release

1 release file 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