This 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:

PARAMETERDESCRIPTIONTAKES ON VALUE
couponcouponASK-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