Redeem an invitation token to join a merchant

Authentication

AuthorizationBearer

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

400
Redeem Invitation Request Bad Request Error
401
Redeem Invitation Request Unauthorized Error
404
Redeem Invitation Request Not Found Error
409
Redeem Invitation Request Conflict Error
410
Redeem Invitation Request Gone Error
422
Redeem Invitation Request Unprocessable Entity Error
500
Redeem Invitation Request Internal Server Error