An Invitation can be used to allow users to claim ownership of a resource on the Centrapay platform.
Attributes
Attributes
-
role
-
accountName
/api/invitations
This endpoint allows you to create an Invitation.
Attributes
-
type
-
resourceId
-
resourceType
-
recipientAlias
-
params
-
role
Errors
-
INVALID_ACCOUNT_TYPE
-
RECIPIENT_ALREADY_INVITED
/api/invitations/code/{code}
This endpoint allows you to retrieve an Invitation by code.
/api/accounts/{accountId}/invitations
This endpoint allows you list Invitations for an Account.
/api/invitations/{invitationId}/accept
This endpoint allows you to accept an Invitation.
Attributes
-
code
-
accountId
Errors
-
INVITATION_EXPIRED
-
INVITATION_ALREADY_ACCEPTED
-
RECIPIENT_ALIAS_MISMATCH
-
INVITATION_REVOKED
/api/invitations/{invitationId}/revoke
This endpoint allows you to revoke an Invitation.
Errors
-
INVITATION_EXPIRED
-
INVITATION_ACCEPTED