Is there a way to programatically create a commerce coupon fixed amount?
Using this tutorial and the above modules/code It makes making a commerce coupon fixed amount (or in this case, a gift card) easier to see.
The only difference between making a regular coupon and one with a fixed amount is that the product (gift card product) price needs to be loaded before hand and the amount of the coupon being created upon gift card purchase needs to load the price from that gift card:

$coupon-&gt;commerce_coupon_fixed_amount[LANGUAGE_NONE][0] = array(
'amount'  =&gt; $product-&gt;commerce_price[LANGUAGE_NONE][0]['amount'],
'currency_code' =&gt; $product-&gt;commerce_price[LANGUAGE_NONE][0]['currency_code'],
);