# Interface: IRedeemCode

Interface for redeeming a code in Genshin Impact.

# Table of contents

# Properties

# Properties

# data

data: null | string

The data returned from redeeming the code. It can be a string or null.

# Defined in

src/modules/redeem/redeem.interface.ts:8 (opens new window)


# message

message: string

A message describing the result of redeeming the code.

# Defined in

src/modules/redeem/redeem.interface.ts:13 (opens new window)


# retcode

retcode: number

The return code from redeeming the code. A non-zero code indicates an error occurred.

# Defined in

src/modules/redeem/redeem.interface.ts:18 (opens new window)