Get Settlement
METHOD NAME getSettlement
Requires state
IDLE
Description
Get settlement from the device. Method results were considered a success when the required settlement was found.
Info
The device stores only settlement records in a non-empty batch file. If a settlement request is returned without settlementId or transactions in the batch file, the settlement record is not stored or retrievable.
Parameters
object
-
lookupMethodSettlementLookupMethodREQUIRED
The query method to use to search for the required settlement
(1) Show values-
SettlementLookupMethod
Describe a method to query a settlement.
SETTLEMENT_IDquery with settlementsettlementId.BATCH_NOquery with settlementbatchNoLAST_SETTLEMENTquery the last settlement completed on the device.
-
-
lookupValuestring
The value to search with according to thelookupMethod
REQUIRED iflookupMethodisSETTLEMENT_IDorBATCH_NO
Result
object on success
settlementSettlement
Settlement payload
Errors
MissingParamsInvalidParamsIllegalStateSettlementNotFound