Python implementation of CryptAPI's payment gateway
Python >= 3.0
Requests >= 2.20
pip install python-cryptapifrom cryptapi import CryptAPIHelperfrom cryptapi import CryptAPIHelper
ca = CryptAPIHelper(coin, myAddress, callbackUrl, params, cryptapiParams)
address = ca.get_address()['address_in']Where:
coinis the coin you wish to use, from CryptAPI's supported currencies (e.g 'btc', 'eth', 'erc20_usdt', ...).myAddressis your own crypto address, where your funds will be sent to.callbackUrlis the URL that will be called upon payment.paramsis any parameter you wish to send to identify the payment, such as{orderId: 1234}.
