Skip to main content

Account memberships

Representation of the rights, also referred to as access and permissions, of Swan users to an account.

Overview​

The Swan user who performs the account's onboarding is the first account member and becomes the account's legal representative. All Swan accounts have at least one account member: the legal representative, and they're considered the admin of the account. The admin can then grant other Swan users permission to perform certain actions for the account; each of these users is an account member.

Consider a real-life example

A grandparent wants their grandchild to have access to an account to purchase groceries. The grandparent is the legal representative (and account member), and the grandchild, an account member.

Account memberships are especially useful for company accounts. The legal representative grants permissions to other employees. Employees can then manage their own payments, such as software or sales expenses, independently. The company's accountant can use their membership to access account statements. With enough permissions, managers can add cards for their team. How you use account memberships and the corresponding permissions is up to youβ€”the possibilities are almost endless to fulfill your use case.

Swan users can have memberships to an unlimited number of Swan accounts.

Consider the following example, where Sasha Oliveira has account memberships to accounts for MyBrand and eFounders. Sasha can access and manage memberships for both accounts, but only manage cards for one.

Visual depiction of multiple account memberships with different permissions

Membership permissions​

Account members can be assigned different rights to an account, allowing access to only the desired actions and information. These rights are referred to as permissions in the Swan API and Web Banking interface.

Swan doesn't offer role-base access control (RBAC). Instead, you choose exactly what each account member can see and do on a member-by-member basis.

PermissionAccount member can...
canViewAccountView the account and information about the account, including main and virtual IBANs, beneficiaries, payment mandates, list of transactions and transaction details, and more
canManageBeneficiariesAdd or remove beneficiaries
canInitiatePaymentsInitiate (send) transfers to beneficiaries
canManageAccountMembershipAdd, modify, or remove account memberships
canManageCardsView, add, and update their own cards and cards for account memberships they manage

Granting permissions​

In order to grant permissions to other account members, the account member must have the permission canManageAccountMembership. They can only grant permissions they already have.

For example, if an account member doesn't have the canManageCards permission, they can't grant it to another account member. If they try to grant the canManageCards permission anyway, the API returns a PermissionCannotBeGrantedRejection error.

Managing cards​

Whether your account members can manage cards and for whom depends on both canManageAccountMembership and canManageCards permissions.

canManage...AccountMembership = trueAccountMembership = false
Cards = trueβœ“ View, add, and update cards for self
βœ“ View, add, and update cards for othersβˆ—
βœ“ View, add, and update cards for self
β˜’ Can't view, add, or update cards for others
Cards = falseβœ“ View my own cards
β˜’ Can't add or update cards for self
β˜’ Can't view, add, or update cards for others
βœ“ View my own cards
β˜’ Can't add or update cards for self
β˜’ Can't view, add, or update cards for others
Cards = not providedβœ“ View, add, and update cards for self
βœ“ View, add, and update cards for others
βœ“ View, add, and update cards for self
β˜’ Can't view, add, or update cards for others

βˆ— others β†’ other account members

No permissions​

You can add account members without granting them any membership permissions. For example, if you want to give a user a card associated with the account, but you don't want them to view account information or perform any actions for the account, you'd add an account membership with no permissions.

In this case, all membership permission booleans are false. This type of invitation doesn't require consent from the account holder and skips the status InvitationSent.

Membership language​

The language for your account membership is inherited based on how the membership is added.

  • When invited by API, the membership language is determined by the accept-language header of the bindAccountMembership API call.
  • When invited by banking interface, it's determined by the invitee's browser language.

Account membership statuses​

Account membership statusExplanation
ConsentPendingRequest to add an account membership was sent with the addAccountMembership mutation and is waiting for the account holder's consent.

Memberships with the status ConsentPending can't be updated. If there's an error in the invited account member's information, cancel the invitation and add a new membership with the addAccountMembership mutation.

Next steps:
  • If the invited account member consents, the status moves to InvitationSent
  • If the invited account member doesn't consent, the status moves to Disabled
InvitationSentAn invitation was sent to the invited account member.

Next steps:
  • If the invited account member accepts the invitation and provides personal information that matches the information Swan already has about them, the status moves to Enabled
  • If the invited account member accepts the invitation, but provides personal information that doesn't match the information Swan already has about them, the status moves to BindingUserError
  • If the invited account member declines the membership, the status moves to Disabled
EnabledAll user information matches, the account member has been awarded the correct identification level, and the account member can use their account membership and corresponding permissions.
BindingUserErrorThe personal information you submitted about the invited account member doesn't match the information they provide during the signup process. The mismatch must be solved before continuing.

Refer to the section on binding user errors for more information.
SuspendedAccount membership is suspended and not available for use.

Account memberships can be suspended for various reasons, including a request from you or the account's legal representative, or a Swan action in the case of suspicious activity.

Next steps:
  • Restore the account membership's previous status with the API
  • Cancel the account membership with the API
DisabledAccount membership is disabled, is no longer available for use, and can't be restored.

Binding user errors​

The information you submitted about the invited account member doesn't match the information they provide when signing up for an account, the account membership has the status BindingUserError. The status also changes to BindingUserError if the user hasn't completed identification.

At least one of the following booleans must be true for an account membership to have a binding error:

  • firstNameMatchError β†’ If true, mismatch with first or given name
  • lastNameMatchError β†’ If true, mismatch with last or family name
  • birthDateMatchError β†’ If true, mismatch with birth date
  • mobilePhoneMatchError β†’ If true, mismatch with mobile phone number
  • idVerifiedMatchError β†’ If true, membership doesn't have the right level of identification

Account members whose membership status is BindingUserError can still access basic account and card information, but they can't perform any sensitive operations, such as making a transfer or viewing their card numbers.

Other account members with the canManageAccountMembership permission and status Enabled can fix the mismatch. If fraud is suspected, suspend the membership instead.

Removing identification​

Verifying your account members' identity is a required step in most circumstances. However, with a detailed agreement with Swan, you might be allowed to bypass identification for certain membership permissions.

Even with identification removed, only memberships with certain permissions can bypass identification.

βœ“ Can bypass identificationβ˜’ Can't bypass identification
canViewAccount
canManageCards
canManageAccountMembership
canInitiatePayments
canManageBeneficiaries

Note that memberships created before identification is removed still need to verify their identity. Adding this configuration isn't retroactive. Contact your Technical Account Manager to ask about removing identification.

Closed accounts and memberships​

When Swan accounts are closed, the account memberships are impacted as well.

As soon as an account status changes to Closing, account members can no longer manage account memberships and beneficiaries or initiate payments (except to empty the account). When the account status changes to Closed, account members can view the account for one year, after which all memberships to the closed account are Disabled.

Versioning​

Account memberships have a version attribute.

When a new membership is added, the version is 0, then increases by a factor of 1 with each change. Changes includes including suspending, resuming, and updating the membership.

Sequence diagram​

Adding account memberships

βˆ— The requester can be the account holder, the account's legal representative, or an account member with the canManageAccountMembership permission. The requester provides consent (diagram line 4).

Guides​