Retrieving User Status
Instructions for getting the user status with the ZBD Rewards SDK.
To retrieve the SDK user status you should use the GetUserStatus()
function.
This returns a ZBDUserStatusResponse
object which contains a ZBDUserStatus
object that has following data:
Status Types
The status
parameter can be:
unlinked
: User has not signed up for rewards, meaning they have not clicked Start Earninglinked
: User has signed up for rewards, meaning they have clicked Start Earningzbdlinked
: User has signed up for rewards, clicked Start Earning, and linked their ZBD account