2022-09-26T15:30:02,428 Created temporary directory: /tmp/pip-ephem-wheel-cache-7odx1cqe
2022-09-26T15:30:02,433 Created temporary directory: /tmp/pip-build-tracker-1wnnlf5n
2022-09-26T15:30:02,434 Initialized build tracking at /tmp/pip-build-tracker-1wnnlf5n
2022-09-26T15:30:02,434 Created build tracker: /tmp/pip-build-tracker-1wnnlf5n
2022-09-26T15:30:02,435 Entered build tracker: /tmp/pip-build-tracker-1wnnlf5n
2022-09-26T15:30:02,436 Created temporary directory: /tmp/pip-wheel-eum_e2dk
2022-09-26T15:30:02,518 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2022-09-26T15:30:02,526 2 location(s) to search for versions of cryptomus:
2022-09-26T15:30:02,526 * https://pypi.org/simple/cryptomus/
2022-09-26T15:30:02,526 * https://www.piwheels.org/simple/cryptomus/
2022-09-26T15:30:02,527 Fetching project page and analyzing links: https://pypi.org/simple/cryptomus/
2022-09-26T15:30:02,528 Getting page https://pypi.org/simple/cryptomus/
2022-09-26T15:30:02,532 Found index url https://pypi.org/simple
2022-09-26T15:30:02,645 Found link https://files.pythonhosted.org/packages/41/1f/a00f6bdb86897b1823bb275cce02b2d9ddf7a288665f512b2a8df168f045/cryptomus-1.0.1.tar.gz#sha256=515d201176d6f6b4b876d46fcd3f942be43447cc674ce23b91236d253bf7e2c2 (from https://pypi.org/simple/cryptomus/), version: 1.0.1
2022-09-26T15:30:02,646 Found link https://files.pythonhosted.org/packages/27/8b/663efc58a68a9403a40a86dc51009035f423c77d43ca8a866cdebc582074/cryptomus-1.1.tar.gz#sha256=7f404119f7a62b131dcfe2ccbdac16aaa45f985f93ac2a4cc20b49118b7e7e05 (from https://pypi.org/simple/cryptomus/), version: 1.1
2022-09-26T15:30:02,647 Fetching project page and analyzing links: https://www.piwheels.org/simple/cryptomus/
2022-09-26T15:30:02,647 Getting page https://www.piwheels.org/simple/cryptomus/
2022-09-26T15:30:02,649 Found index url https://www.piwheels.org/simple
2022-09-26T15:30:02,882 Skipping link: No binaries permitted for cryptomus: https://www.piwheels.org/simple/cryptomus/cryptomus-1.0.1-py3-none-any.whl#sha256=5370656bb9e4d3ccacc344ba1737d3c876ff696b7de50be8b5dd6bd46e65da06 (from https://www.piwheels.org/simple/cryptomus/)
2022-09-26T15:30:02,883 Skipping link: not a file: https://www.piwheels.org/simple/cryptomus/
2022-09-26T15:30:02,884 Skipping link: not a file: https://pypi.org/simple/cryptomus/
2022-09-26T15:30:02,927 Given no hashes to check 1 links for project 'cryptomus': discarding no candidates
2022-09-26T15:30:02,969 Collecting cryptomus==1.1
2022-09-26T15:30:02,973 Created temporary directory: /tmp/pip-unpack-geanavy3
2022-09-26T15:30:03,068 Downloading cryptomus-1.1.tar.gz (5.7 kB)
2022-09-26T15:30:03,142 Added cryptomus==1.1 from https://files.pythonhosted.org/packages/27/8b/663efc58a68a9403a40a86dc51009035f423c77d43ca8a866cdebc582074/cryptomus-1.1.tar.gz#sha256=7f404119f7a62b131dcfe2ccbdac16aaa45f985f93ac2a4cc20b49118b7e7e05 to build tracker '/tmp/pip-build-tracker-1wnnlf5n'
2022-09-26T15:30:03,145 Running setup.py (path:/tmp/pip-wheel-eum_e2dk/cryptomus_79fa89747a5a47119cfa1a5de8b0d773/setup.py) egg_info for package cryptomus
2022-09-26T15:30:03,146 Created temporary directory: /tmp/pip-pip-egg-info-9fxlpqxv
2022-09-26T15:30:03,147 Preparing metadata (setup.py): started
2022-09-26T15:30:03,149 Running command python setup.py egg_info
2022-09-26T15:30:05,875 # Cryptomus Python SDK
2022-09-26T15:30:05,877 Python SDK module for working with the Cryptomus API
2022-09-26T15:30:05,877 ## Installation and connection
2022-09-26T15:30:05,878 Installation using [pip](https://pip.pypa.io/en/stable/installation/):
2022-09-26T15:30:05,879 ```bash
2022-09-26T15:30:05,879 $ pip install cryptomus
2022-09-26T15:30:05,879 ```
2022-09-26T15:30:05,880 ## Documentation
2022-09-26T15:30:05,880 **Methods for working with api**: https://doc.cryptomus.com/
2022-09-26T15:30:05,881 ## Authorization
2022-09-26T15:30:05,882 `PAYOUT_KEY` or `PAYMENT_KEY`, also `MERCHANT_UUID` required to use SDK details in [documentation](https://doc.cryptomus.com/general/request).
2022-09-26T15:30:05,882 ```python
2022-09-26T15:30:05,883 from cryptomus import Client
2022-09-26T15:30:05,883 PAYMENT_KEY = 'uQ4LFWCBE3dT84uQnt7ycL7p9Wc...gMPI8lzKl7Ct2I43R6SSC3gVDS3rkGX'
2022-09-26T15:30:05,883 MERCHANT_UUID = 'c26b80a8-9549-4b66-bb53-774f12809249'
2022-09-26T15:30:05,884 payment = Client.payment(PAYMENT_KEY, MERCHANT_UUID)
2022-09-26T15:30:05,884 ```
2022-09-26T15:30:05,885 ```python
2022-09-26T15:30:05,885 from cryptomus import Client
2022-09-26T15:30:05,886 PAYMENT_KEY = 'uQ4LFWCBE3dT84uQnt7ycL7p9Wc...gMPI8lzKl7Ct2I43R6SSC3gVDS3rkGX'
2022-09-26T15:30:05,886 MERCHANT_UUID = 'c26b80a8-9549-4b66-bb53-774f12809249'
2022-09-26T15:30:05,887 payout = Client.payout(PAYMENT_KEY, MERCHANT_UUID)
2022-09-26T15:30:05,887 ```
2022-09-26T15:30:05,887 ## Payout methods
2022-09-26T15:30:05,888 ### Payout request
2022-09-26T15:30:05,889 ```python
2022-09-26T15:30:05,889 data = {
2022-09-26T15:30:05,889 'amount': '15',
2022-09-26T15:30:05,890 'currency': 'USD',
2022-09-26T15:30:05,890 'network': 'TRON',
2022-09-26T15:30:05,890 'order_id': '555321',
2022-09-26T15:30:05,890 'address': 'TXguLRFtrAFrEDA17WuPfrxB84jVzJcNNV',
2022-09-26T15:30:05,891 'is_subtract': '1',
2022-09-26T15:30:05,891 'url_callback': 'https://example.com/callback'
2022-09-26T15:30:05,891 }
2022-09-26T15:30:05,892 result = payout.create(data)
2022-09-26T15:30:05,892 ```
2022-09-26T15:30:05,893 Output:
2022-09-26T15:30:05,893 ```python
2022-09-26T15:30:05,893 {
2022-09-26T15:30:05,894 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:05,894 "amount": "15",
2022-09-26T15:30:05,894 "currency": "TRX",
2022-09-26T15:30:05,895 "network": "tron",
2022-09-26T15:30:05,895 "address": "TJ...",
2022-09-26T15:30:05,895 "txid": None,
2022-09-26T15:30:05,895 "status": "process",
2022-09-26T15:30:05,896 "is_final": False,
2022-09-26T15:30:05,896 "balance": 129
2022-09-26T15:30:05,896 }
2022-09-26T15:30:05,897 ```
2022-09-26T15:30:05,897 ### Info
2022-09-26T15:30:05,898 ```python
2022-09-26T15:30:05,898 data = {
2022-09-26T15:30:05,898 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:05,899 "order_id": "12345"
2022-09-26T15:30:05,899 }
2022-09-26T15:30:05,899 result = payout.info(data)
2022-09-26T15:30:05,900 ```
2022-09-26T15:30:05,900 Output:
2022-09-26T15:30:05,901 ```python
2022-09-26T15:30:05,901 {
2022-09-26T15:30:05,901 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:05,902 "amount": "3.00000000",
2022-09-26T15:30:05,902 "currency": "TRX",
2022-09-26T15:30:05,902 "network": "tron",
2022-09-26T15:30:05,902 "address": "TJZ...",
2022-09-26T15:30:05,903 "txid": None,
2022-09-26T15:30:05,903 "status": "process",
2022-09-26T15:30:05,903 "is_final": False,
2022-09-26T15:30:05,904 "balance": "129.00000000"
2022-09-26T15:30:05,904 }
2022-09-26T15:30:05,904 ```
2022-09-26T15:30:05,905 ## Payment methods
2022-09-26T15:30:05,905 ### Payment services
2022-09-26T15:30:05,906 ```python
2022-09-26T15:30:05,906 result = payment.services()
2022-09-26T15:30:05,906 ```
2022-09-26T15:30:05,907 Output:
2022-09-26T15:30:05,908 ```python
2022-09-26T15:30:05,908 {
2022-09-26T15:30:05,908 { #[0]
2022-09-26T15:30:05,909 "network": "TRON",
2022-09-26T15:30:05,909 "currency": "TRX",
2022-09-26T15:30:05,909 "is_available": True,
2022-09-26T15:30:05,909 "limit": {
2022-09-26T15:30:05,910 "min_amount": "1.00000000",
2022-09-26T15:30:05,910 "max_amount": "10.00000000"
2022-09-26T15:30:05,910 },
2022-09-26T15:30:05,911 "commission": {
2022-09-26T15:30:05,911 "fee_amount": "0.00",
2022-09-26T15:30:05,911 "percent": "0.00"
2022-09-26T15:30:05,911 }
2022-09-26T15:30:05,912 },
2022-09-26T15:30:05,912 { ... }, #[1]
2022-09-26T15:30:05,912 { ... } #[2] and so on
2022-09-26T15:30:05,913 }
2022-09-26T15:30:05,913 ```
2022-09-26T15:30:05,914 ### Payment create
2022-09-26T15:30:05,914 ```python
2022-09-26T15:30:05,914 data = {
2022-09-26T15:30:05,915 'amount': '16',
2022-09-26T15:30:05,915 'currency': 'USD',
2022-09-26T15:30:05,915 'network': 'ETH',
2022-09-26T15:30:05,916 'order_id': '555123',
2022-09-26T15:30:05,916 'url_return': 'https://example.com/return',
2022-09-26T15:30:05,916 'url_callback': 'https://example.com/callback',
2022-09-26T15:30:05,916 'is_payment_multiple': False,
2022-09-26T15:30:05,917 'lifetime': '7200',
2022-09-26T15:30:05,917 'to_currency': 'ETH'
2022-09-26T15:30:05,917 };
2022-09-26T15:30:05,918 result = payment.create(data)
2022-09-26T15:30:05,918 ```
2022-09-26T15:30:05,919 Output:
2022-09-26T15:30:05,919 ```python
2022-09-26T15:30:05,920 {
2022-09-26T15:30:05,920 "uuid": "8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:05,920 "amount": "16",
2022-09-26T15:30:05,921 "order_id": "test_19",
2022-09-26T15:30:05,921 "currency": "TRX",
2022-09-26T15:30:05,921 "comments": None,
2022-09-26T15:30:05,922 "network": "tron",
2022-09-26T15:30:05,922 "address": "TW...",
2022-09-26T15:30:05,922 "from": None,
2022-09-26T15:30:05,922 "txid": None,
2022-09-26T15:30:05,923 "payment_status": "check",
2022-09-26T15:30:05,923 "url": "https://pay.cryptomus.com/pay/8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:05,923 "expired_at": 1650980953,
2022-09-26T15:30:05,924 "status": "check",
2022-09-26T15:30:05,924 "is_final": False
2022-09-26T15:30:05,924 }
2022-09-26T15:30:05,924 ```
2022-09-26T15:30:05,925 ### Info
2022-09-26T15:30:05,926 ```python
2022-09-26T15:30:05,926 data = {
2022-09-26T15:30:05,926 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:05,927 "order_id": "12345"
2022-09-26T15:30:05,927 }
2022-09-26T15:30:05,927 result = payment.info(data)
2022-09-26T15:30:05,928 ```
2022-09-26T15:30:05,928 Output:
2022-09-26T15:30:05,929 ```python
2022-09-26T15:30:05,929 {
2022-09-26T15:30:05,930 "uuid": "8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:05,930 "order_id": "test_10",
2022-09-26T15:30:05,930 "amount": "16.00000000",
2022-09-26T15:30:05,930 "payment_amount": "0.000000",
2022-09-26T15:30:05,931 "currency": "TRX",
2022-09-26T15:30:05,931 "comments": None,
2022-09-26T15:30:05,931 "network": "tron",
2022-09-26T15:30:05,932 "address": "TW...",
2022-09-26T15:30:05,932 "from": None,
2022-09-26T15:30:05,932 "txid": None,
2022-09-26T15:30:05,933 "payment_status": "check",
2022-09-26T15:30:05,933 "url": "https://pay.cryptomus.com/pay/8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:05,933 "expired_at": 1650980953,
2022-09-26T15:30:05,934 "status": "paid",
2022-09-26T15:30:05,934 "is_final": True
2022-09-26T15:30:05,934 }
2022-09-26T15:30:05,934 ```
2022-09-26T15:30:05,935 ### Payment History
2022-09-26T15:30:05,936 ```python
2022-09-26T15:30:05,936 page = 3
2022-09-26T15:30:05,936 result = payment.history(page)
2022-09-26T15:30:05,936 ```
2022-09-26T15:30:05,937 Output:
2022-09-26T15:30:05,938 ```python
2022-09-26T15:30:05,938 {
2022-09-26T15:30:05,938 "items": [
2022-09-26T15:30:05,939 { # [0]
2022-09-26T15:30:05,939 "uuid": "87094a43-5fe4-4629-b2fd-c37e8e2af76c",
2022-09-26T15:30:05,939 "order_id": "1650956609",
2022-09-26T15:30:05,939 "amount": "16.00000000",
2022-09-26T15:30:05,940 "payment_amount": "0.01200000",
2022-09-26T15:30:05,940 "currency": "ETH",
2022-09-26T15:30:05,940 "comments": None,
2022-09-26T15:30:05,941 "network": "eth",
2022-09-26T15:30:05,941 'address': '0xa30b82321a83922b792eef731d84b5d655449225',
2022-09-26T15:30:05,941 'from': None,
2022-09-26T15:30:05,941 'txid': None,
2022-09-26T15:30:05,942 'payment_status': 'cancel',
2022-09-26T15:30:05,942 'url': 'https://pay.cryptomus.com/pay/3347cd9e-4b63-4605-b269-c45b51d03f8d',
2022-09-26T15:30:05,942 'expired_at': 1663952410,
2022-09-26T15:30:05,943 'status': 'cancel',
2022-09-26T15:30:05,943 'is_final': True},
2022-09-26T15:30:05,943 { ... }, # [1]
2022-09-26T15:30:05,944 { ... }, # [2] and so on ...
2022-09-26T15:30:05,944 ],
2022-09-26T15:30:05,944 'paginate': {
2022-09-26T15:30:05,944 'count': 3,
2022-09-26T15:30:05,945 'hasPages': False,
2022-09-26T15:30:05,945 'nextCursor': None,
2022-09-26T15:30:05,945 'previousCursor': None,
2022-09-26T15:30:05,946 'perPage': 15}
2022-09-26T15:30:05,946 }
2022-09-26T15:30:05,946 ```
2022-09-26T15:30:05,947 ### Balance
2022-09-26T15:30:05,947 ```python
2022-09-26T15:30:05,948 result = payment.balance()
2022-09-26T15:30:05,948 ```
2022-09-26T15:30:05,949 Output:
2022-09-26T15:30:05,949 ```python
2022-09-26T15:30:05,950 [
2022-09-26T15:30:05,950 {
2022-09-26T15:30:05,950 "balance": {
2022-09-26T15:30:05,950 "merchant": [
2022-09-26T15:30:05,951 {
2022-09-26T15:30:05,951 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,951 "balance": "24.00000000",
2022-09-26T15:30:05,952 "currency_code": "TRX",
2022-09-26T15:30:05,952 "balance_usd": "24.00",
2022-09-26T15:30:05,952 },
2022-09-26T15:30:05,952 {
2022-09-26T15:30:05,953 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,953 "balance": "0.00000000",
2022-09-26T15:30:05,953 "currency_code": "MATIC",
2022-09-26T15:30:05,954 "balance_usd": "0.00",
2022-09-26T15:30:05,954 },
2022-09-26T15:30:05,954 {
2022-09-26T15:30:05,954 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,955 "balance": "0.00000000",
2022-09-26T15:30:05,955 "currency_code": "LTC",
2022-09-26T15:30:05,955 "balance_usd": "0.00",
2022-09-26T15:30:05,956 },
2022-09-26T15:30:05,956 {
2022-09-26T15:30:05,956 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,957 "balance": "0.00000000",
2022-09-26T15:30:05,957 "currency_code": "BUSD",
2022-09-26T15:30:05,957 "balance_usd": "0.00",
2022-09-26T15:30:05,958 },
2022-09-26T15:30:05,958 {
2022-09-26T15:30:05,958 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,958 "balance": "1.00000000",
2022-09-26T15:30:05,959 "currency_code": "BTC",
2022-09-26T15:30:05,959 "balance_usd": "19328.00",
2022-09-26T15:30:05,959 },
2022-09-26T15:30:05,960 {
2022-09-26T15:30:05,960 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,960 "balance": "0.00000000",
2022-09-26T15:30:05,961 "currency_code": "USDT",
2022-09-26T15:30:05,961 "balance_usd": "0.00",
2022-09-26T15:30:05,961 },
2022-09-26T15:30:05,961 {
2022-09-26T15:30:05,962 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,962 "balance": "0.00000000",
2022-09-26T15:30:05,962 "currency_code": "ETH",
2022-09-26T15:30:05,963 "balance_usd": "0.00",
2022-09-26T15:30:05,963 },
2022-09-26T15:30:05,963 {
2022-09-26T15:30:05,963 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,964 "balance": "0.00000000",
2022-09-26T15:30:05,964 "currency_code": "DASH",
2022-09-26T15:30:05,964 "balance_usd": "0.00",
2022-09-26T15:30:05,965 },
2022-09-26T15:30:05,965 {
2022-09-26T15:30:05,965 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,966 "balance": "0.00000000",
2022-09-26T15:30:05,966 "currency_code": "BNB",
2022-09-26T15:30:05,966 "balance_usd": "0.00",
2022-09-26T15:30:05,967 },
2022-09-26T15:30:05,967 ],
2022-09-26T15:30:05,967 "user": [
2022-09-26T15:30:05,967 {
2022-09-26T15:30:05,968 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,968 "balance": "0.00000000",
2022-09-26T15:30:05,968 "currency_code": "BTC",
2022-09-26T15:30:05,969 "balance_usd": None,
2022-09-26T15:30:05,969 },
2022-09-26T15:30:05,969 {
2022-09-26T15:30:05,970 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,970 "balance": "0.00000000",
2022-09-26T15:30:05,970 "currency_code": "USDT",
2022-09-26T15:30:05,970 "balance_usd": None,
2022-09-26T15:30:05,971 },
2022-09-26T15:30:05,971 {
2022-09-26T15:30:05,971 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,972 "balance": "0.00000000",
2022-09-26T15:30:05,972 "currency_code": "LTC",
2022-09-26T15:30:05,972 "balance_usd": None,
2022-09-26T15:30:05,972 },
2022-09-26T15:30:05,973 {
2022-09-26T15:30:05,973 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,973 "balance": "0.00000000",
2022-09-26T15:30:05,974 "currency_code": "TRX",
2022-09-26T15:30:05,974 "balance_usd": None,
2022-09-26T15:30:05,974 },
2022-09-26T15:30:05,975 {
2022-09-26T15:30:05,975 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,975 "balance": "0.00000000",
2022-09-26T15:30:05,975 "currency_code": "ETH",
2022-09-26T15:30:05,976 "balance_usd": None,
2022-09-26T15:30:05,976 },
2022-09-26T15:30:05,976 {
2022-09-26T15:30:05,977 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,977 "balance": "0.00000000",
2022-09-26T15:30:05,977 "currency_code": "DASH",
2022-09-26T15:30:05,978 "balance_usd": None,
2022-09-26T15:30:05,978 },
2022-09-26T15:30:05,978 {
2022-09-26T15:30:05,979 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,979 "balance": "0.00000000",
2022-09-26T15:30:05,979 "currency_code": "MATIC",
2022-09-26T15:30:05,980 "balance_usd": None,
2022-09-26T15:30:05,980 },
2022-09-26T15:30:05,980 {
2022-09-26T15:30:05,980 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,981 "balance": "0.00000000",
2022-09-26T15:30:05,981 "currency_code": "BNB",
2022-09-26T15:30:05,981 "balance_usd": None,
2022-09-26T15:30:05,982 },
2022-09-26T15:30:05,982 {
2022-09-26T15:30:05,982 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:05,982 "balance": "0.00000000",
2022-09-26T15:30:05,983 "currency_code": "BUSD",
2022-09-26T15:30:05,983 "balance_usd": None,
2022-09-26T15:30:05,983 },
2022-09-26T15:30:05,984 ],
2022-09-26T15:30:05,984 }
2022-09-26T15:30:05,984 }
2022-09-26T15:30:05,985 ]
2022-09-26T15:30:05,985 ```
2022-09-26T15:30:05,986 ### Resend notifications
2022-09-26T15:30:05,987 ```python
2022-09-26T15:30:05,987 data = {
2022-09-26T15:30:05,987 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:05,987 "order_id": "12345"
2022-09-26T15:30:05,988 }
2022-09-26T15:30:05,989 result = payment.resend_notification(data)
2022-09-26T15:30:05,989 ```
2022-09-26T15:30:05,989 Output:
2022-09-26T15:30:05,990 ```python
2022-09-26T15:30:05,990 bool(True)
2022-09-26T15:30:05,991 ```
2022-09-26T15:30:05,991 ### Wallet create
2022-09-26T15:30:05,992 ```python
2022-09-26T15:30:05,992 data = {
2022-09-26T15:30:05,992 'network': 'TRON',
2022-09-26T15:30:05,993 'currency': 'USDT',
2022-09-26T15:30:05,993 'order_id': '5535321',
2022-09-26T15:30:05,993 'url_callback': 'https://example.com/callback'
2022-09-26T15:30:05,994 }
2022-09-26T15:30:05,994 result = payment.create_wallet(data)
2022-09-26T15:30:05,995 ```
2022-09-26T15:30:05,995 Output:
2022-09-26T15:30:05,996 ```python
2022-09-26T15:30:05,996 {
2022-09-26T15:30:05,996 "uuid": "9f64a7ce-...",
2022-09-26T15:30:05,997 "order_id": "24",
2022-09-26T15:30:05,997 "currency": "USDT",
2022-09-26T15:30:05,997 "network": "tron",
2022-09-26T15:30:05,998 "address": "TK8..."
2022-09-26T15:30:05,998 }
2022-09-26T15:30:05,998 ```
2022-09-26T15:30:05,999 ### Exceptions
2022-09-26T15:30:05,999 All methods can throw RequestBuilderException.
2022-09-26T15:30:06,000 ## Requirements
2022-09-26T15:30:06,000 * **Python 3** or higher
2022-09-26T15:30:10,645 * extension **requests**
2022-09-26T15:30:10,646 running egg_info
2022-09-26T15:30:10,652 creating /tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info
2022-09-26T15:30:11,341 writing /tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info/PKG-INFO
2022-09-26T15:30:11,912 writing dependency_links to /tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info/dependency_links.txt
2022-09-26T15:30:14,736 writing requirements to /tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info/requires.txt
2022-09-26T15:30:15,302 writing top-level names to /tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info/top_level.txt
2022-09-26T15:30:15,305 writing manifest file '/tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info/SOURCES.txt'
2022-09-26T15:30:16,244 reading manifest file '/tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info/SOURCES.txt'
2022-09-26T15:30:16,252 writing manifest file '/tmp/pip-pip-egg-info-9fxlpqxv/cryptomus.egg-info/SOURCES.txt'
2022-09-26T15:30:16,462 Preparing metadata (setup.py): finished with status 'done'
2022-09-26T15:30:16,474 Source in /tmp/pip-wheel-eum_e2dk/cryptomus_79fa89747a5a47119cfa1a5de8b0d773 has version 1.1, which satisfies requirement cryptomus==1.1 from https://files.pythonhosted.org/packages/27/8b/663efc58a68a9403a40a86dc51009035f423c77d43ca8a866cdebc582074/cryptomus-1.1.tar.gz#sha256=7f404119f7a62b131dcfe2ccbdac16aaa45f985f93ac2a4cc20b49118b7e7e05
2022-09-26T15:30:16,476 Removed cryptomus==1.1 from https://files.pythonhosted.org/packages/27/8b/663efc58a68a9403a40a86dc51009035f423c77d43ca8a866cdebc582074/cryptomus-1.1.tar.gz#sha256=7f404119f7a62b131dcfe2ccbdac16aaa45f985f93ac2a4cc20b49118b7e7e05 from build tracker '/tmp/pip-build-tracker-1wnnlf5n'
2022-09-26T15:30:16,487 Created temporary directory: /tmp/pip-unpack-3uhjba4h
2022-09-26T15:30:16,488 Building wheels for collected packages: cryptomus
2022-09-26T15:30:16,497 Created temporary directory: /tmp/pip-wheel-p8yt8_0g
2022-09-26T15:30:16,498 Building wheel for cryptomus (setup.py): started
2022-09-26T15:30:16,500 Destination directory: /tmp/pip-wheel-p8yt8_0g
2022-09-26T15:30:16,500 Running command python setup.py bdist_wheel
2022-09-26T15:30:19,018 # Cryptomus Python SDK
2022-09-26T15:30:19,020 Python SDK module for working with the Cryptomus API
2022-09-26T15:30:19,021 ## Installation and connection
2022-09-26T15:30:19,022 Installation using [pip](https://pip.pypa.io/en/stable/installation/):
2022-09-26T15:30:19,022 ```bash
2022-09-26T15:30:19,023 $ pip install cryptomus
2022-09-26T15:30:19,023 ```
2022-09-26T15:30:19,024 ## Documentation
2022-09-26T15:30:19,024 **Methods for working with api**: https://doc.cryptomus.com/
2022-09-26T15:30:19,025 ## Authorization
2022-09-26T15:30:19,025 `PAYOUT_KEY` or `PAYMENT_KEY`, also `MERCHANT_UUID` required to use SDK details in [documentation](https://doc.cryptomus.com/general/request).
2022-09-26T15:30:19,026 ```python
2022-09-26T15:30:19,026 from cryptomus import Client
2022-09-26T15:30:19,027 PAYMENT_KEY = 'uQ4LFWCBE3dT84uQnt7ycL7p9Wc...gMPI8lzKl7Ct2I43R6SSC3gVDS3rkGX'
2022-09-26T15:30:19,027 MERCHANT_UUID = 'c26b80a8-9549-4b66-bb53-774f12809249'
2022-09-26T15:30:19,028 payment = Client.payment(PAYMENT_KEY, MERCHANT_UUID)
2022-09-26T15:30:19,028 ```
2022-09-26T15:30:19,029 ```python
2022-09-26T15:30:19,029 from cryptomus import Client
2022-09-26T15:30:19,030 PAYMENT_KEY = 'uQ4LFWCBE3dT84uQnt7ycL7p9Wc...gMPI8lzKl7Ct2I43R6SSC3gVDS3rkGX'
2022-09-26T15:30:19,030 MERCHANT_UUID = 'c26b80a8-9549-4b66-bb53-774f12809249'
2022-09-26T15:30:19,030 payout = Client.payout(PAYMENT_KEY, MERCHANT_UUID)
2022-09-26T15:30:19,031 ```
2022-09-26T15:30:19,031 ## Payout methods
2022-09-26T15:30:19,032 ### Payout request
2022-09-26T15:30:19,032 ```python
2022-09-26T15:30:19,033 data = {
2022-09-26T15:30:19,033 'amount': '15',
2022-09-26T15:30:19,033 'currency': 'USD',
2022-09-26T15:30:19,033 'network': 'TRON',
2022-09-26T15:30:19,034 'order_id': '555321',
2022-09-26T15:30:19,034 'address': 'TXguLRFtrAFrEDA17WuPfrxB84jVzJcNNV',
2022-09-26T15:30:19,034 'is_subtract': '1',
2022-09-26T15:30:19,035 'url_callback': 'https://example.com/callback'
2022-09-26T15:30:19,035 }
2022-09-26T15:30:19,035 result = payout.create(data)
2022-09-26T15:30:19,036 ```
2022-09-26T15:30:19,036 Output:
2022-09-26T15:30:19,037 ```python
2022-09-26T15:30:19,037 {
2022-09-26T15:30:19,037 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:19,038 "amount": "15",
2022-09-26T15:30:19,038 "currency": "TRX",
2022-09-26T15:30:19,038 "network": "tron",
2022-09-26T15:30:19,039 "address": "TJ...",
2022-09-26T15:30:19,039 "txid": None,
2022-09-26T15:30:19,039 "status": "process",
2022-09-26T15:30:19,040 "is_final": False,
2022-09-26T15:30:19,040 "balance": 129
2022-09-26T15:30:19,040 }
2022-09-26T15:30:19,040 ```
2022-09-26T15:30:19,041 ### Info
2022-09-26T15:30:19,042 ```python
2022-09-26T15:30:19,042 data = {
2022-09-26T15:30:19,042 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:19,042 "order_id": "12345"
2022-09-26T15:30:19,043 }
2022-09-26T15:30:19,043 result = payout.info(data)
2022-09-26T15:30:19,043 ```
2022-09-26T15:30:19,044 Output:
2022-09-26T15:30:19,045 ```python
2022-09-26T15:30:19,045 {
2022-09-26T15:30:19,045 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:19,045 "amount": "3.00000000",
2022-09-26T15:30:19,046 "currency": "TRX",
2022-09-26T15:30:19,046 "network": "tron",
2022-09-26T15:30:19,046 "address": "TJZ...",
2022-09-26T15:30:19,047 "txid": None,
2022-09-26T15:30:19,047 "status": "process",
2022-09-26T15:30:19,047 "is_final": False,
2022-09-26T15:30:19,048 "balance": "129.00000000"
2022-09-26T15:30:19,048 }
2022-09-26T15:30:19,048 ```
2022-09-26T15:30:19,049 ## Payment methods
2022-09-26T15:30:19,049 ### Payment services
2022-09-26T15:30:19,050 ```python
2022-09-26T15:30:19,050 result = payment.services()
2022-09-26T15:30:19,050 ```
2022-09-26T15:30:19,051 Output:
2022-09-26T15:30:19,052 ```python
2022-09-26T15:30:19,052 {
2022-09-26T15:30:19,052 { #[0]
2022-09-26T15:30:19,053 "network": "TRON",
2022-09-26T15:30:19,053 "currency": "TRX",
2022-09-26T15:30:19,053 "is_available": True,
2022-09-26T15:30:19,054 "limit": {
2022-09-26T15:30:19,054 "min_amount": "1.00000000",
2022-09-26T15:30:19,054 "max_amount": "10.00000000"
2022-09-26T15:30:19,054 },
2022-09-26T15:30:19,055 "commission": {
2022-09-26T15:30:19,055 "fee_amount": "0.00",
2022-09-26T15:30:19,055 "percent": "0.00"
2022-09-26T15:30:19,056 }
2022-09-26T15:30:19,056 },
2022-09-26T15:30:19,056 { ... }, #[1]
2022-09-26T15:30:19,056 { ... } #[2] and so on
2022-09-26T15:30:19,057 }
2022-09-26T15:30:19,057 ```
2022-09-26T15:30:19,058 ### Payment create
2022-09-26T15:30:19,058 ```python
2022-09-26T15:30:19,059 data = {
2022-09-26T15:30:19,059 'amount': '16',
2022-09-26T15:30:19,059 'currency': 'USD',
2022-09-26T15:30:19,060 'network': 'ETH',
2022-09-26T15:30:19,060 'order_id': '555123',
2022-09-26T15:30:19,060 'url_return': 'https://example.com/return',
2022-09-26T15:30:19,060 'url_callback': 'https://example.com/callback',
2022-09-26T15:30:19,061 'is_payment_multiple': False,
2022-09-26T15:30:19,061 'lifetime': '7200',
2022-09-26T15:30:19,061 'to_currency': 'ETH'
2022-09-26T15:30:19,062 };
2022-09-26T15:30:19,062 result = payment.create(data)
2022-09-26T15:30:19,062 ```
2022-09-26T15:30:19,063 Output:
2022-09-26T15:30:19,064 ```python
2022-09-26T15:30:19,064 {
2022-09-26T15:30:19,064 "uuid": "8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:19,065 "amount": "16",
2022-09-26T15:30:19,065 "order_id": "test_19",
2022-09-26T15:30:19,065 "currency": "TRX",
2022-09-26T15:30:19,065 "comments": None,
2022-09-26T15:30:19,066 "network": "tron",
2022-09-26T15:30:19,066 "address": "TW...",
2022-09-26T15:30:19,066 "from": None,
2022-09-26T15:30:19,067 "txid": None,
2022-09-26T15:30:19,067 "payment_status": "check",
2022-09-26T15:30:19,067 "url": "https://pay.cryptomus.com/pay/8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:19,067 "expired_at": 1650980953,
2022-09-26T15:30:19,068 "status": "check",
2022-09-26T15:30:19,068 "is_final": False
2022-09-26T15:30:19,068 }
2022-09-26T15:30:19,069 ```
2022-09-26T15:30:19,069 ### Info
2022-09-26T15:30:19,070 ```python
2022-09-26T15:30:19,070 data = {
2022-09-26T15:30:19,071 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:19,071 "order_id": "12345"
2022-09-26T15:30:19,071 }
2022-09-26T15:30:19,072 result = payment.info(data)
2022-09-26T15:30:19,072 ```
2022-09-26T15:30:19,073 Output:
2022-09-26T15:30:19,073 ```python
2022-09-26T15:30:19,074 {
2022-09-26T15:30:19,074 "uuid": "8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:19,074 "order_id": "test_10",
2022-09-26T15:30:19,074 "amount": "16.00000000",
2022-09-26T15:30:19,075 "payment_amount": "0.000000",
2022-09-26T15:30:19,075 "currency": "TRX",
2022-09-26T15:30:19,075 "comments": None,
2022-09-26T15:30:19,076 "network": "tron",
2022-09-26T15:30:19,076 "address": "TW...",
2022-09-26T15:30:19,076 "from": None,
2022-09-26T15:30:19,076 "txid": None,
2022-09-26T15:30:19,077 "payment_status": "check",
2022-09-26T15:30:19,077 "url": "https://pay.cryptomus.com/pay/8b03432e-385b-4670-8d06-064591096795",
2022-09-26T15:30:19,077 "expired_at": 1650980953,
2022-09-26T15:30:19,078 "status": "paid",
2022-09-26T15:30:19,078 "is_final": True
2022-09-26T15:30:19,078 }
2022-09-26T15:30:19,079 ```
2022-09-26T15:30:19,079 ### Payment History
2022-09-26T15:30:19,080 ```python
2022-09-26T15:30:19,080 page = 3
2022-09-26T15:30:19,080 result = payment.history(page)
2022-09-26T15:30:19,081 ```
2022-09-26T15:30:19,081 Output:
2022-09-26T15:30:19,082 ```python
2022-09-26T15:30:19,082 {
2022-09-26T15:30:19,083 "items": [
2022-09-26T15:30:19,083 { # [0]
2022-09-26T15:30:19,083 "uuid": "87094a43-5fe4-4629-b2fd-c37e8e2af76c",
2022-09-26T15:30:19,083 "order_id": "1650956609",
2022-09-26T15:30:19,084 "amount": "16.00000000",
2022-09-26T15:30:19,084 "payment_amount": "0.01200000",
2022-09-26T15:30:19,084 "currency": "ETH",
2022-09-26T15:30:19,085 "comments": None,
2022-09-26T15:30:19,085 "network": "eth",
2022-09-26T15:30:19,085 'address': '0xa30b82321a83922b792eef731d84b5d655449225',
2022-09-26T15:30:19,085 'from': None,
2022-09-26T15:30:19,086 'txid': None,
2022-09-26T15:30:19,086 'payment_status': 'cancel',
2022-09-26T15:30:19,086 'url': 'https://pay.cryptomus.com/pay/3347cd9e-4b63-4605-b269-c45b51d03f8d',
2022-09-26T15:30:19,087 'expired_at': 1663952410,
2022-09-26T15:30:19,087 'status': 'cancel',
2022-09-26T15:30:19,087 'is_final': True},
2022-09-26T15:30:19,088 { ... }, # [1]
2022-09-26T15:30:19,088 { ... }, # [2] and so on ...
2022-09-26T15:30:19,088 ],
2022-09-26T15:30:19,088 'paginate': {
2022-09-26T15:30:19,089 'count': 3,
2022-09-26T15:30:19,089 'hasPages': False,
2022-09-26T15:30:19,089 'nextCursor': None,
2022-09-26T15:30:19,090 'previousCursor': None,
2022-09-26T15:30:19,090 'perPage': 15}
2022-09-26T15:30:19,090 }
2022-09-26T15:30:19,090 ```
2022-09-26T15:30:19,091 ### Balance
2022-09-26T15:30:19,092 ```python
2022-09-26T15:30:19,092 result = payment.balance()
2022-09-26T15:30:19,092 ```
2022-09-26T15:30:19,093 Output:
2022-09-26T15:30:19,093 ```python
2022-09-26T15:30:19,094 [
2022-09-26T15:30:19,094 {
2022-09-26T15:30:19,094 "balance": {
2022-09-26T15:30:19,095 "merchant": [
2022-09-26T15:30:19,095 {
2022-09-26T15:30:19,095 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,095 "balance": "24.00000000",
2022-09-26T15:30:19,096 "currency_code": "TRX",
2022-09-26T15:30:19,096 "balance_usd": "24.00",
2022-09-26T15:30:19,096 },
2022-09-26T15:30:19,097 {
2022-09-26T15:30:19,097 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,097 "balance": "0.00000000",
2022-09-26T15:30:19,097 "currency_code": "MATIC",
2022-09-26T15:30:19,098 "balance_usd": "0.00",
2022-09-26T15:30:19,098 },
2022-09-26T15:30:19,099 {
2022-09-26T15:30:19,099 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,099 "balance": "0.00000000",
2022-09-26T15:30:19,099 "currency_code": "LTC",
2022-09-26T15:30:19,100 "balance_usd": "0.00",
2022-09-26T15:30:19,100 },
2022-09-26T15:30:19,100 {
2022-09-26T15:30:19,101 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,101 "balance": "0.00000000",
2022-09-26T15:30:19,101 "currency_code": "BUSD",
2022-09-26T15:30:19,101 "balance_usd": "0.00",
2022-09-26T15:30:19,102 },
2022-09-26T15:30:19,102 {
2022-09-26T15:30:19,102 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,103 "balance": "1.00000000",
2022-09-26T15:30:19,103 "currency_code": "BTC",
2022-09-26T15:30:19,103 "balance_usd": "19328.00",
2022-09-26T15:30:19,104 },
2022-09-26T15:30:19,104 {
2022-09-26T15:30:19,104 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,104 "balance": "0.00000000",
2022-09-26T15:30:19,105 "currency_code": "USDT",
2022-09-26T15:30:19,105 "balance_usd": "0.00",
2022-09-26T15:30:19,105 },
2022-09-26T15:30:19,106 {
2022-09-26T15:30:19,106 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,106 "balance": "0.00000000",
2022-09-26T15:30:19,106 "currency_code": "ETH",
2022-09-26T15:30:19,107 "balance_usd": "0.00",
2022-09-26T15:30:19,107 },
2022-09-26T15:30:19,107 {
2022-09-26T15:30:19,108 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,108 "balance": "0.00000000",
2022-09-26T15:30:19,108 "currency_code": "DASH",
2022-09-26T15:30:19,109 "balance_usd": "0.00",
2022-09-26T15:30:19,109 },
2022-09-26T15:30:19,109 {
2022-09-26T15:30:19,110 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,110 "balance": "0.00000000",
2022-09-26T15:30:19,110 "currency_code": "BNB",
2022-09-26T15:30:19,110 "balance_usd": "0.00",
2022-09-26T15:30:19,111 },
2022-09-26T15:30:19,111 ],
2022-09-26T15:30:19,111 "user": [
2022-09-26T15:30:19,112 {
2022-09-26T15:30:19,112 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,112 "balance": "0.00000000",
2022-09-26T15:30:19,112 "currency_code": "BTC",
2022-09-26T15:30:19,113 "balance_usd": None,
2022-09-26T15:30:19,113 },
2022-09-26T15:30:19,113 {
2022-09-26T15:30:19,114 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,114 "balance": "0.00000000",
2022-09-26T15:30:19,114 "currency_code": "USDT",
2022-09-26T15:30:19,114 "balance_usd": None,
2022-09-26T15:30:19,115 },
2022-09-26T15:30:19,115 {
2022-09-26T15:30:19,115 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,116 "balance": "0.00000000",
2022-09-26T15:30:19,116 "currency_code": "LTC",
2022-09-26T15:30:19,116 "balance_usd": None,
2022-09-26T15:30:19,116 },
2022-09-26T15:30:19,117 {
2022-09-26T15:30:19,117 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,117 "balance": "0.00000000",
2022-09-26T15:30:19,118 "currency_code": "TRX",
2022-09-26T15:30:19,118 "balance_usd": None,
2022-09-26T15:30:19,118 },
2022-09-26T15:30:19,119 {
2022-09-26T15:30:19,119 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,119 "balance": "0.00000000",
2022-09-26T15:30:19,120 "currency_code": "ETH",
2022-09-26T15:30:19,120 "balance_usd": None,
2022-09-26T15:30:19,120 },
2022-09-26T15:30:19,121 {
2022-09-26T15:30:19,121 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,121 "balance": "0.00000000",
2022-09-26T15:30:19,122 "currency_code": "DASH",
2022-09-26T15:30:19,122 "balance_usd": None,
2022-09-26T15:30:19,122 },
2022-09-26T15:30:19,122 {
2022-09-26T15:30:19,123 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,123 "balance": "0.00000000",
2022-09-26T15:30:19,123 "currency_code": "MATIC",
2022-09-26T15:30:19,124 "balance_usd": None,
2022-09-26T15:30:19,124 },
2022-09-26T15:30:19,124 {
2022-09-26T15:30:19,124 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,125 "balance": "0.00000000",
2022-09-26T15:30:19,125 "currency_code": "BNB",
2022-09-26T15:30:19,125 "balance_usd": None,
2022-09-26T15:30:19,126 },
2022-09-26T15:30:19,126 {
2022-09-26T15:30:19,126 "uuid": "abcdabcd-abcd-1234-1234-abcdabcd",
2022-09-26T15:30:19,127 "balance": "0.00000000",
2022-09-26T15:30:19,127 "currency_code": "BUSD",
2022-09-26T15:30:19,127 "balance_usd": None,
2022-09-26T15:30:19,127 },
2022-09-26T15:30:19,128 ],
2022-09-26T15:30:19,128 }
2022-09-26T15:30:19,128 }
2022-09-26T15:30:19,129 ]
2022-09-26T15:30:19,130 ```
2022-09-26T15:30:19,130 ### Resend notifications
2022-09-26T15:30:19,131 ```python
2022-09-26T15:30:19,131 data = {
2022-09-26T15:30:19,131 "uuid": "a7c0caec-a594-4aaa-b1c4-77d511857594",
2022-09-26T15:30:19,132 "order_id": "12345"
2022-09-26T15:30:19,132 }
2022-09-26T15:30:19,133 result = payment.resend_notification(data)
2022-09-26T15:30:19,133 ```
2022-09-26T15:30:19,133 Output:
2022-09-26T15:30:19,134 ```python
2022-09-26T15:30:19,134 bool(True)
2022-09-26T15:30:19,135 ```
2022-09-26T15:30:19,135 ### Wallet create
2022-09-26T15:30:19,136 ```python
2022-09-26T15:30:19,136 data = {
2022-09-26T15:30:19,136 'network': 'TRON',
2022-09-26T15:30:19,137 'currency': 'USDT',
2022-09-26T15:30:19,137 'order_id': '5535321',
2022-09-26T15:30:19,137 'url_callback': 'https://example.com/callback'
2022-09-26T15:30:19,138 }
2022-09-26T15:30:19,138 result = payment.create_wallet(data)
2022-09-26T15:30:19,139 ```
2022-09-26T15:30:19,139 Output:
2022-09-26T15:30:19,140 ```python
2022-09-26T15:30:19,140 {
2022-09-26T15:30:19,140 "uuid": "9f64a7ce-...",
2022-09-26T15:30:19,141 "order_id": "24",
2022-09-26T15:30:19,141 "currency": "USDT",
2022-09-26T15:30:19,141 "network": "tron",
2022-09-26T15:30:19,142 "address": "TK8..."
2022-09-26T15:30:19,142 }
2022-09-26T15:30:19,142 ```
2022-09-26T15:30:19,143 ### Exceptions
2022-09-26T15:30:19,143 All methods can throw RequestBuilderException.
2022-09-26T15:30:19,144 ## Requirements
2022-09-26T15:30:19,144 * **Python 3** or higher
2022-09-26T15:30:19,145 * extension **requests**
2022-09-26T15:30:23,293 running bdist_wheel
2022-09-26T15:30:24,805 running build
2022-09-26T15:30:24,805 running build_py
2022-09-26T15:30:25,504 creating build
2022-09-26T15:30:25,504 creating build/lib
2022-09-26T15:30:25,505 creating build/lib/cryptomus
2022-09-26T15:30:25,508 copying cryptomus/client.py -> build/lib/cryptomus
2022-09-26T15:30:25,512 copying cryptomus/request_builder.py -> build/lib/cryptomus
2022-09-26T15:30:25,516 copying cryptomus/request_exceptions.py -> build/lib/cryptomus
2022-09-26T15:30:25,520 copying cryptomus/payouts.py -> build/lib/cryptomus
2022-09-26T15:30:25,523 copying cryptomus/__init__.py -> build/lib/cryptomus
2022-09-26T15:30:25,526 copying cryptomus/payments.py -> build/lib/cryptomus
2022-09-26T15:30:26,223 /usr/local/lib/python3.9/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
2022-09-26T15:30:26,223 warnings.warn(
2022-09-26T15:30:26,963 installing to build/bdist.linux-armv7l/wheel
2022-09-26T15:30:26,964 running install
2022-09-26T15:30:27,025 running install_lib
2022-09-26T15:30:27,723 creating build/bdist.linux-armv7l
2022-09-26T15:30:27,724 creating build/bdist.linux-armv7l/wheel
2022-09-26T15:30:27,727 creating build/bdist.linux-armv7l/wheel/cryptomus
2022-09-26T15:30:27,729 copying build/lib/cryptomus/client.py -> build/bdist.linux-armv7l/wheel/cryptomus
2022-09-26T15:30:27,733 copying build/lib/cryptomus/request_builder.py -> build/bdist.linux-armv7l/wheel/cryptomus
2022-09-26T15:30:27,736 copying build/lib/cryptomus/request_exceptions.py -> build/bdist.linux-armv7l/wheel/cryptomus
2022-09-26T15:30:27,740 copying build/lib/cryptomus/payouts.py -> build/bdist.linux-armv7l/wheel/cryptomus
2022-09-26T15:30:27,743 copying build/lib/cryptomus/__init__.py -> build/bdist.linux-armv7l/wheel/cryptomus
2022-09-26T15:30:27,747 copying build/lib/cryptomus/payments.py -> build/bdist.linux-armv7l/wheel/cryptomus
2022-09-26T15:30:27,750 running install_egg_info
2022-09-26T15:30:29,157 running egg_info
2022-09-26T15:30:29,836 writing cryptomus.egg-info/PKG-INFO
2022-09-26T15:30:30,399 writing dependency_links to cryptomus.egg-info/dependency_links.txt
2022-09-26T15:30:33,198 writing requirements to cryptomus.egg-info/requires.txt
2022-09-26T15:30:33,761 writing top-level names to cryptomus.egg-info/top_level.txt
2022-09-26T15:30:33,885 reading manifest file 'cryptomus.egg-info/SOURCES.txt'
2022-09-26T15:30:33,894 writing manifest file 'cryptomus.egg-info/SOURCES.txt'
2022-09-26T15:30:33,897 Copying cryptomus.egg-info to build/bdist.linux-armv7l/wheel/cryptomus-1.1-py3.9.egg-info
2022-09-26T15:30:33,921 running install_scripts
2022-09-26T15:30:34,081 creating build/bdist.linux-armv7l/wheel/cryptomus-1.1.dist-info/WHEEL
2022-09-26T15:30:34,086 creating '/tmp/pip-wheel-p8yt8_0g/cryptomus-1.1-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it
2022-09-26T15:30:34,091 adding 'cryptomus/__init__.py'
2022-09-26T15:30:34,093 adding 'cryptomus/client.py'
2022-09-26T15:30:34,096 adding 'cryptomus/payments.py'
2022-09-26T15:30:34,100 adding 'cryptomus/payouts.py'
2022-09-26T15:30:34,103 adding 'cryptomus/request_builder.py'
2022-09-26T15:30:34,105 adding 'cryptomus/request_exceptions.py'
2022-09-26T15:30:34,111 adding 'cryptomus-1.1.dist-info/METADATA'
2022-09-26T15:30:34,113 adding 'cryptomus-1.1.dist-info/WHEEL'
2022-09-26T15:30:34,116 adding 'cryptomus-1.1.dist-info/top_level.txt'
2022-09-26T15:30:34,118 adding 'cryptomus-1.1.dist-info/RECORD'
2022-09-26T15:30:34,121 removing build/bdist.linux-armv7l/wheel
2022-09-26T15:30:34,382 Building wheel for cryptomus (setup.py): finished with status 'done'
2022-09-26T15:30:34,389 Created wheel for cryptomus: filename=cryptomus-1.1-py3-none-any.whl size=6374 sha256=6c6aeefa1baef690428d663b561e99a0b351876e881043be459aeb28c5857e41
2022-09-26T15:30:34,391 Stored in directory: /tmp/pip-ephem-wheel-cache-7odx1cqe/wheels/79/14/21/78df7edf05aa84b471e0391888439fc45330f19c999871561a
2022-09-26T15:30:34,414 Successfully built cryptomus
2022-09-26T15:30:34,421 Removed build tracker: '/tmp/pip-build-tracker-1wnnlf5n'