Trade API
Description AuthenticationMethods
get-info trade active-orders order-info cancel-order trade-history transaction-history create-coupon redeem-couponThis method allows you to create Coupons.
Please note: You need to have the privilege of the withdraw key to be able to use this method, which you can get, leaving an application in your account in the section API-keys.
Parameters:
PARAMETER | DESCRIPTION | TAKES ON VALUE |
currency | currency | btc, eth, usd, ... |
volume | withdrawal volume | numeric |
receiver | email of user who is allowed to redeem the code |
The example of response:
{
"success":1,
"return":{
"coupon": ASK-USD-69AA4BBX-1UAZ32BP-LKBR0QZT-X5AENVNF-WNZHNQDZ,
"transID": 12345,
"funds":{
"btc": 13.998,
"usd": 125,
"rur": 0,
...
}
}
}
transID: Transaction ID
coupon: Generated coupon
funds: Balance after the request