Skip to content

Commit 4042103

Browse files
committed
Temporary comments removed.
1 parent 27de576 commit 4042103

File tree

1 file changed

+0
-67
lines changed

1 file changed

+0
-67
lines changed

pyCryptomusAPI/api.py

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -440,73 +440,6 @@ def payment_services(self):
440440
resp = self.__request(method, 1).get("result")
441441
return [Service.de_json(i) for i in resp]
442442

443-
"""
444-
Request
445-
Query parameters
446-
NAME PARAMETER TYPE DEFAULT VALUE DEFINITION
447-
amount* string Payout amount
448-
currency* string
449-
Currency code for the payout
450-
If Currency if fiat, the to_currency parameter is required.
451-
order_id*
452-
string
453-
min:1
454-
max:100
455-
alpha_dash
456-
Order ID in your system
457-
The parameter should be a string consisting of alphabetic characters, numbers, underscores, and dashes. It should not contain any spaces or special characters.
458-
The order_id must be unique within the merchant payouts
459-
When we find an existing payout with order_id, we return its details, a new payout will not be created.
460-
address* string The address of the wallet to which the withdrawal will be made
461-
is_subtract* boolean
462-
Defines where the withdrawal fee will be deducted
463-
true - from your balance
464-
false - from payout amount, the payout amount will be decreased
465-
network* string
466-
Blockchain network code
467-
Not required when the currency/to_currency is a cryptocurrency and has only one network, for example BTC
468-
url_callback URL to which webhooks with payout status will be sent
469-
to_currency Cryptocurrency code in which the payout will be made. It is used when the currency parameter is fiat. See examples below
470-
course_source string
471-
Available values
472-
-
473-
Binance
474-
-
475-
BinanceP2p
476-
-
477-
Exmo
478-
-
479-
Kucoin
480-
-
481-
Garantexio
482-
Value from merchant's settings
483-
The service from which the exchange rates are taken for conversion in the invoice.
484-
The parameter is applied only if the currency is fiat, otherwise the default value is taken from the merchant's settings.
485-
from_currency string null Allows to automatically convert the withdrawal amount and use the from_currency balance. Only USDT is available.
486-
priority
487-
string
488-
min: 4
489-
max: 11
490-
Available values
491-
-
492-
recommended
493-
-
494-
economy
495-
-
496-
high
497-
-
498-
highest
499-
recommended
500-
The parameter for selecting the withdrawal priority. The cost of the withdrawal fee depends on the selected parameter.
501-
This parameter is applied only in case of using the BTC, ETH, POLYGON, and BSC networks.
502-
memo
503-
string
504-
min: 1
505-
max: 30
506-
Additional identifier for TON, used to specify a particular recipient or target
507-
* - mandatory parameter
508-
"""
509-
510443
def create_payout(self,
511444
amount, currency, order_id, address, is_subtract, network,
512445
url_callback = None, to_currency = None, course_source = None,

0 commit comments

Comments
 (0)