Skip to main content

Veritran Docs

Generate OTP

This function generates the OTP (One-time password).

Parameter Configuration

This function doesn't require you to complete any mandatory input parameters, but there is a list of optional ones. Read Input Registers to learn more.

Function ID

Register

Value

110

3

Input Registers

Register

Description

Mandatory

Value

118

Challenge

No

<<CHALLENGE>>

121

Pin

No

<<PIN>>

122

Session Data

No

<<SESSIONDATA>>

125

Flag Clear Password

No

<<CLEAR_PASSWORD>>

141

CRC Validation

No

<<CRCVALIDATION>>

142

Transform Session Data

No

<<TRANSFORMSESSIONDATA>>

Output Registers

Register

Description

Value

112

Call Result

100

Problems trying to parse data in prepareSessionData function.

099

Current time is before 01/01/1990 00:00:00 GMT.

001

Generic error. Suite not supported or invalid.

005

API cannot decrypt input parameters.

000

Process successful.

113

Password

After the function is executed, the token 125 (CLEAR PASSWORD) is verified. In case of having set "1" as a value, this token (113) is cleared.

205

Password Set Flag

After the function is executed, the token 125 (CLEAR PASSWORD) is verified. In case of having set "1" as a value, this token (205) is set with the value "1".

119

OCRA Suite

<<OCRASUITE>>

123

OTP

<<OTP>>

211

Data Offline Synchro

<<TOKEN DATA OFFLINE SYNCHRO>> if successful.