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

PARAMETERDESCRIPTIONTAKES ON VALUE
currencycurrencybtc, eth, usd, ...
volumewithdrawal volumenumeric
receiveremail of user who is allowed to redeem the codeemail

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