Redeem an invitation token to join a merchant

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
tokenstringRequired
The unique invitation token received by the user

Response

Invitation redeemed successfully. Roles assigned.
invitedByUserobject
grantedRoleslist of strings
Names of the roles granted to the user for the merchant
merchantobject

Errors