We do this by setting a coupon in the standard interface and hijacking it with the "gform_coupons_discount_amount" filter (see line 942 functions.php) in this case because the nested forms interface we also have to use the JS hook the make sure everything updates...