edit doc redemption cancel api and transaction cancel api