Can somebody please let me know the variable for gift certificate amount.

I want to deduct the gift certificate amount used by a customer from the order total while checking out in a custom program I use.

I use zencart version 1.27