Skip to main content

DELETE Coupon

/api/v1/coupon/<COUPON_ID>

This call deletes a coupon with a specified COUPON_ID provided within a path. If coupon is not found, 404 is returned. Underlying amount of TFN (rtrx_limit) is credited back to internal entity account.

Response contains the following data:

  1. code: Success or failed.
  2. balance_on_coupons_rtrx: total balance that is currently locked on all issued and not yet spent coupons.
  3. balance_rtrx and balance_rusdt: current Transatron account balances in TFN (former RTRX) and TFU (former RUSDT).

Example of response:

{
"code": "SUCCESS",
"balance_on_coupons_rtrx": 7925001,
"balance_rtrx": 120548547,
"balance_rusdt": 69399295
}