Create QR Reference

Function Name

CreateQrReference

Type Description

Parameters

Reference

const char*

The reference which should be converted into a QR Reference

OutputBuffer

char *

A buffer initialized by the caller which is used to write the result back to the caller. See also Buffer Sizes

OutputBufferSize

unsigned long *

The size of the OutputBuffer. The library needs it to check if the buffer is large enough to write the result back. After the output is written, it contains the actual output length (actual size <= initial buffer size). See also Buffer Sizes

Returns

return code

unsigned int

0 = Success 100 = Technical Error 101 = Validation Error 102 = Parse Error

Create QR Reference With Customer ID

Function Name

CreateQrReferenceWithCustomerId

Type Description

Parameters

CustomerId

const char*

The customer id which should be used in order to create a QR Reference

Reference

const char*

The reference which should be converted into a QR Reference

OutputBuffer

char *

A buffer initialized by the caller which is used to write the result back to the caller. See also Buffer Sizes

OutputBufferSize

unsigned long *

The size of the OutputBuffer. The library needs it to check if the buffer is large enough to write the result back. After the output is written, it contains the actual output length (actual size <= initial buffer size). See also Buffer Sizes

Returns

return code

unsigned int

0 = Success 100 = Technical Error 101 = Validation Error 102 = Parse Error

Normalize QR Reference

Function Name

NormalizeQrReference

Type Description

Parameters

QrReference

const char*

The QR Reference which should be normalized

OutputBuffer

char *

A buffer initialized by the caller which is used to write the result back to the caller. See also Buffer Sizes

OutputBufferSize

unsigned long *

The size of the OutputBuffer. The library needs it to check if the buffer is large enough to write the result back. After the output is written, it contains the actual output length (actual size <= initial buffer size). See also Buffer Sizes

Returns

return code

unsigned int

0 = Success 100 = Technical Error 101 = Validation Error 102 = Parse Error

Format QR Reference

Function Name

FormatQrReference

Type Description

Parameters

QrReference

const char*

The QR Reference which should be formatted

OutputBuffer

char *

A buffer initialized by the caller which is used to write the result back to the caller. See also Buffer Sizes

OutputBufferSize

unsigned long *

The size of the OutputBuffer. The library needs it to check if the buffer is large enough to write the result back. After the output is written, it contains the actual output length (actual size <= initial buffer size). See also Buffer Sizes

Returns

return code

unsigned int

0 = Success 100 = Technical Error 101 = Validation Error 102 = Parse Error