cryptonator_API for https://www.cryptonator.com/
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cryptonator_API-0.0.tar.gz
(1.9 kB
view details)
File details
Details for the file cryptonator_API-0.0.tar.gz.
File metadata
- Download URL: cryptonator_API-0.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8728c00169f480c6eb304aeaf486fb6f04909c4b5c72806881d93274fa98435d
|
|
| MD5 |
2846913903464d3cc40c97a15949f4a5
|
|
| BLAKE2b-256 |
5556fec152c9012a0ce413bfdecbe34ecb4540b682a619bc2ca27c6fb5269e11
|