Deposit
METHOD NAME deposit
Requires state
IDLEand during process moves toSETTLEMENT
Description
Deposit all transactions on the batch file to the gateway. Each record is deposited independently, and so is the result for each transaction.
The method will return when the process is finished and each transaction tried once to deposit.
If the transaction is not VOIDED or INFORMATIVE, the status will move to DEPOSITED.
Parameters
object
hoststringREQUIRED
Currently, the value isSHVAonly
Result
object when a request is valid and deposit starts processing
-
resultResult
Possible results are:OK,NETWORK_ERROR,GENERAL_ERROR
(1) Show values-
Result
Result of new request. Each command has possible values in the field.
OKRequest is okGENERAL_ERRORAn error occurredCANCELEDCommand was canceled either by the user (on-screen) or throughcancelcommand.TIMEOUTOperation was timed out.NETWORK_ERRORNo internet connection is available.HOST_ERRORHost returned an error regarding the request.SMART_READER_ERRORAn error occurred with the smart-readerSMART_CARD_ERRORAn error occurred with the smart card, or the reader couldn't communicate with the card.NONE_CREDIT_CARDIndustrial card was detected when performing a transaction.CARD_NOT_ALLOWEDWhen the detected card is not allowed to be processed
-
-
depositDeposit
Deposit payload
Errors
HostDisabledMissingParamsIllegalStateScreenNotReady-
IllegalRequestReason Description NO_GATEWAYwhen a gateway is not configured -
InsufficientBattery