AI resources

Get terminal information

To access detailed information about the terminal and the integrated SDK, such as the terminal's serial number or the SDK version, use the getInformation function from the SmartInformationTools class.

val informationTools = MPManager.smartInformationTools
informationTools.getInformation { response ->
   response.doIfSuccess { smartInformation ->
       // Handle device and integration information
       val deviceSerialNumber = smartInformation.smartDevice.serialNumber
       val brandName = smartInformation.smartDevice.brandName
       val modelName = smartInformation.smartDevice.modelName
       val paymentModuleVersion = smartInformation.smartDevice.paymentModuleVersion
       val sdkVersion = smartInformation.integration.nativeSdkVersion
   }.doIfError { error ->
       // Handle error in information request 
   }
}
FieldDescription
serialNumberTerminal serial number.
brandNameTerminal brand name.
modelNameTerminal model name.
paymentModuleVersionSmartPos payment module version.
nativeSdkVersionNative SDK version for integrations.