Check invitation status and user existence
Check if an invitation token is valid and whether it's for an existing user or new user. This helps determine whether to show login or register flow in the frontend.
Request
This endpoint expects an object.
token
The unique invitation token to check
Response
Invitation status checked successfully.
isExistingUser
Whether the invitation is for an existing user (true) or new user (false)
email
Email address associated with the invitation
invitationType
Type of invitation: MERCHANT or ORGANIZATION
Allowed values: