Skip to main content

SDK Constants

These constants can be found on com.securityside.trustfactor.constants.enums package.

Transaction Type

This constant can be found on TransactionType enumerator in com.securityside.trustfactor.constants.enums package.

Transaction TypeDescriptionCustomApps Only
NORMAL_TRANSACTIONNormal transactions do not have a decision process. One use case scenario is to replace SMS OTP tokens using TrustFactor’s secure communication channel. In the agent, NORMAL_TRANSACTION only shows the message, and an ‘OK’ button and no ‘Accept’ / ‘Reject’ buttons.No
ACTIONABLE_TRANSACTIONTransaction with a decision process that is based on an operation.No
GENERIC_TRANSACTIONA very versatile transaction with a decision process that doesn’t need an existing operation in the application and that is highly configurable.No
SIBS_3DS_TRANSACTIONTransaction with a decision process for 3DS payments using SIBS API via MBWay SDK. The transaction is created without SIBS details in TrustFactor services and the transaction state will be TRANSACTION_NON_DECIDABLE in TrustFactor.Yes
SIBS_3DS_TRANSACTION_V2Transaction with a decision process for 3DS payments using SIBS API via MBWay SDK. The transaction is created with SIBS details in TrustFactor services and the transaction state can be defined with Update Transaction status request after the SIBS callback.Yes

Transaction Status

This constant can be found on TransactionStatus enumerator in com.securityside.trustfactor.constants.enums package. Final State indicates that the transaction is in a final state

Transaction TypeFinal State
TRANSACTION_PENDINGNo
TRANSACTION_ACCEPTEDYes
TRANSACTION_DECLINEDYes
TRANSACTION_EXPIREDYes
TRANSACTION_FAILEDYes
TRANSACTION_NON_DECIDABLEYes
TRANSACTION_NO_ANSWERNo

Note: TRANSACTION_NO_ANSWER is a SIBS_3DS_TRANSACTION_V2 only transaction state.

SIBS 3DS v2 Final Status

This constant can be found on SIBS3DSV2FinalStatus enumerator in com.securityside.trustfactor.constants.enums package.

  • SIBS3DS_TRANSACTION_ACCEPTED
  • SIBS3DS_TRANSACTION_DECLINED
  • SIBS3DS_TRANSACTION_EXPIRED

Authentication Mechanism

This constant can be found on AuthenticationMechanism enumerator in com.securityside.trustfactor.constants.enums package.

  • AUTHENTICATION_PASSWORD
  • AUTHENTICATION_BIOMETRICS
  • AUTHENTICATION_DEFAULT

Risk Level

This constant can be found on RiskLevel enumerator in com.securityside.trustfactor.constants.enums package.

  • LOW
  • MEDIUM
  • HIGH

Risk Module

This constant can be found on RiskModule enumerator in com.securityside.trustfactor.constants.enums package.

  • LRC
  • IPREP

Event Data

This constant can be found on EventData enumerator in com.securityside.trustfactor.constants.enums package.

  • MAP
  • WEBVIEW