The recommended way of knowing how much of a gift certificate can be applied to a cart is to use the following endpoint /sales/gift-certificates/:gcnumber:
Use the balanceAvailableForCart
or formattedBalanceAvailableForCart
properties in the response.