Invitations
An Invitation can be used to allow users to claim ownership of a resource on the Centrapay platform.
Invitation Model
Attributes
Params Model
Attributes
-
role
-
accountName
Create Invitation
This endpoint allows you to create an Invitation.
Attributes
-
type
-
resourceId
-
resourceType
-
recipientAlias
-
params
-
role
Errors
-
INVALID_ACCOUNT_TYPE
-
RECIPIENT_ALREADY_INVITED
Get Invitation By Code
This endpoint allows you to retrieve an Invitation by code.
List Invitations by Account Id
This endpoint allows you list Invitations for an Account.
Accept Invitation
This endpoint allows you to accept an Invitation.
Attributes
-
code
-
accountId
Errors
-
INVITATION_EXPIRED
-
INVITATION_ALREADY_ACCEPTED
-
RECIPIENT_ALIAS_MISMATCH
-
INVITATION_REVOKED
Revoke Invitation
This endpoint allows you to revoke an Invitation.
Errors
-
INVITATION_EXPIRED
-
INVITATION_ACCEPTED