BalanceInquiry Method
Retrieves the current balances of Food Stamp and Cash Benefit accounts on an EBT card.
Syntax
globalbenefit.balanceInquiry([callback])
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for this method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
A BalanceInquiry transaction requests that Global Payments return the amount of funds remaining on the customer's EBT Card. No charge is made to the customer's card. The balance results from a balance inquiry on a Food Stamps card will be returned in ResponseFoodStampBalance, and the balance results from an inquiry on a Cash Benefits card will be returned in ResponseCashBenefitsBalance. For a card that accesses both Food Stamp and Cash Benefit accounts, both balances may be returned.