EBTCashWithdrawal Method
Sends a withdrawal request for EBT Cash Benefit cards.
Syntax
fdmsomaharestaurant.EBTCashWithdrawal([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
This method sends a withdrawal (cash only) request to the FDMS transaction processor for the amount
specified within DebitCashBackAmount. This method is only available for EBT Cash Benefit cards
(when EBTPaymentType is set to etCashBenefits). If the Cash Withdrawal request was successful,
ResponseSuccess will be True.
OmahaRetail.EBTPaymentType = etCashBenefits OmahaRetail.Card.EntryDataSource = edsManualEntryTrack2Capable OmahaRetail.Card.Number = "5076899999999999" OmahaRetail.Card.ExpMonth = 12 OmahaRetail.Card.ExpYear = 2049 OmahaRetail.DebitKSN = "876543210A005611119" OmahaRetail.DebitPIN = "8741F3581F20D1D1" OmahaRetail.TransactionAmount = "5.00" OmahaRetail.EBTCashWithdrawal()