Deposit
METHOD NAME deposit
Requires state
IDLE
and 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
host
string
REQUIRED
Currently, the value isSHVA
only
Result
object
when a request is valid and deposit starts processing
-
result
Result
Possible results are:OK
,GENERAL_ERROR
(1) Show values-
Result
Result of new request. Each command has possible values in the field.
OK
Request is okGENERAL_ERROR
An error occurredCANCELED
Command was canceled either by the user (on-screen) or throughcancel
command,TIMEOUT
Operation was timed out.HOST_ERROR
Host returned an error regarding the request.SMART_READER_ERROR
An error occurred with the smart-readerSMART_CARD_ERROR
An error occurred with the smart card, or the reader couldn't communicate with the card.NONE_CREDIT_CARD
Industrial card was detected when performing a transaction.CARD_NOT_ALLOWED
When the detected card is not allowed to be processed
-
-
deposit
Deposit
Deposit payload
Errors
HostDisabled
MissingParams
IllegalState
ScreenNotReady
-
IllegalRequest
Reason Description NO_GATEWAY
when a gateway is not configured