Trade API
Description AuthenticationMethods
get-info trade active-orders order-info cancel-order trade-history transaction-history create-coupon redeem-couponThis method is used to redeem 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 |
coupon | coupon | ASK-USD... (example) |
The example of response:
{
"success":1,
"return":{
"volume": 10,
"currency": USD,
"transID": 12345,
"funds":{
"btc": 13.998,
"usd": 125,
"rur": 0,
...
}
}
}
volume: The volume that has been redeemed
currency: The currency of the coupon that has been redeemed
transID: Transaction ID
funds: Balance after the request