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
-
lookupMethod
SettlementLookupMethod
REQUIRED
The query method to use to search for the required settlement
(1) Show values-
SettlementLookupMethod
Describe a method to query a settlement.
SETTLEMENT_ID
query with settlementsettlementId
.BATCH_NO
query with settlementbatchNo
LAST_SETTLEMENT
query the last settlement completed on the device.
-
-
lookupValue
string
The value to search with according to thelookupMethod
REQUIRED iflookupMethod
isSETTLEMENT_ID
orBATCH_NO
Result
object
on success
settlement
Settlement
Settlement payload
Errors
MissingParams
InvalidParams
IllegalState
SettlementNotFound