Skip to main content

Veritran Docs

Generate QR

This function generates an image with the QR code and saves it, so that it is available for the application.

Parameter Configuration

This function requires you to complete the input parameters with the text to encode and an image ID. Refer to the Input Registers section to learn more.

Function ID

Register

Value

110

1

Input Registers

Register

Description

Mandatory

Value

332

Text to encode

Yes

Valid text to be transformed into a QR code.

333

Image ID

Yes

String

Output Registers

Register

Description

Value

112

Call Result

Table 6. Version 2

000

NO_ERROR

001

GENERIC_ERROR

002

INVALID_CODE



Table 7. Version 3

000

NO_ERROR

001

GENERIC_ERROR

100

INVALID_TEXT_TO_ENCODE

101

INVALID_IMAGE_ID