Account memberships
Representation of the rights, also referred to as access and permissions, of Swan users to an account. While location is restricted for account holders, accounts members can be located anywhere in the world.
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. The legal representative can grant other Swan users permission to perform certain actions for the account; each of these users is an account member.
A grandparent wants their grandchild to have access to an account to purchase groceries. The grandparent is the legal representative (and an account member), and the grandchild is an account member.
Inviting membersโ
You can invite account members by phone number or by verified email. Use the API to add one membership or multiple memberships. If you use Swan's Web Banking interface, your users can invite members directly from the app.
Method | Explanation |
---|---|
Inviter provides phone number and email |
|
Inviter provides email only |
|
Company accountsโ
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.
Unlimited membershipsโ
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. Based on their membership permissions, Sasha can access and manage memberships for both accounts, but only manage cards for one.
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.
Permission | Account member can... |
---|---|
canViewAccount | View the account and some information about the account, including but not limited to: main and virtual IBANs, trusted beneficiaries, payment mandates, and transactions and transaction details. Cardholders with the canViewAccount permission can view their own transaction history, even if they have no other permissions. |
canManageBeneficiaries | Add or remove beneficiaries, and save beneficiaries as trusted. |
canInitiatePayments | Initiate (send) credit transfers to trusted beneficiaries. |
canManageAccountMembership | Add, update, suspend, resume, and disable account memberships, and view the list of account members. |
canManageCards | View, 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.
Please note that cardholders without the canViewAccount
permission can view their own transaction history, even if they have no other permissions.
Support Status Legend
Action | canManageCards = true | canManageCards = false | canManageCards = not provided |
---|---|---|---|
canManageAccountMembership = true | |||
View, add, update cards for self | โ | โ | โ |
View, add, update cards for others* | โ | โ | โ |
View own cards only | - | โ | - |
Print physical card from existing virtual | - | โ | - |
canManageAccountMembership = false | |||
View, add, update cards for self | โ | โ | โ |
View, add, update cards for others* | โ | โ | โ |
View own cards only | - | โ | โ |
Print physical card from existing virtual | - | โ | โ |
* 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
.
Country requirements for account membershipsโ
To invite an account member, you must provide specific account membership fields.
Requirements vary depending on the IBAN country. Swan automatically sets these requirements based on the member's permissions, accountCountry
, and residencyAddress.country
.
Field Requirements Legend
API field | ๐ซ๐ท France | ๐ฉ๐ช Germany | ๐ณ๐ฑ Netherlands | ๐ช๐ธ Spain | ๐ฎ๐น Italy |
---|---|---|---|---|---|
accountID | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
canInitiatePayments | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
canManageAccountMembership | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
canManageBeneficiaries | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
canManageCards | โ OPT | โ OPT | โ OPT | โ OPT | โ OPT |
canViewAccount | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
consentRedirectUrl | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
email | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
language | โ OPT | โ OPT | โ OPT | โ OPT | โ OPT |
residencyAddress.addressLine1 | โ OPT | โ CND | โ CND | โ OPT | โ REQ |
residencyAddress.addressLine2 | โ OPT | โ OPT | โ OPT | โ OPT | โ OPT |
residencyAddress.city | โ OPT | โ CND | โ CND | โ OPT | โ REQ |
residencyAddress.country | โ OPT | โ CND | โ CND | โ OPT | โ REQ |
residencyAddress.postalCode | โ OPT | โ CND | โ CND | โ OPT | โ REQ |
residencyAddress.state | โ OPT | โ OPT | โ OPT | โ OPT | โ OPT |
restrictedTo.firstName | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
restrictedTo.lastName | โ REQ | โ REQ | โ REQ | โ REQ | โ REQ |
restrictedTo.phoneNumber | โ CND | โ CND | โ CND | โ CND | โ CND |
restrictedTo.birthDate | โ CND | โ CND | โ CND | โ CND | โ CND |
taxIdentificationNumber | โ OPT | โ CND | โ OPT | โ OPT | โ CND |
๐ซ๐ท France | ๐ฉ๐ช Germany | ๐ณ๐ฑ Netherlands | ๐ช๐ธ Spain | ๐ฎ๐น Italy |
Detailed optional and conditional requirementsโ
Birthdateโ
The restrictedTo.birthDate
field is required if any of the following account membership permissions are set to true
:
canManageBeneficiaries
canInitiatePayments
canManageAccountMembership
canManageCards
Membership permissionsโ
If no value is provided for canManageCards
, it defaults to the value of canManageAccountMembership
.
Phone numberโ
The restrictedTo.phoneNumber
field is required if any of the following account membership permissions are set to true
:
canManageBeneficiaries
canInitiatePayments
canManageAccountMembership
Residency address fieldsโ
The addressLine1
, city
, country
, and postalCode
fields are required regardless of residencyAddress.country
, in the following cases:
- The
accountCountry
is ๐ฎ๐น Italy. - The
accountCountry
is ๐ฉ๐ช Germany or ๐ณ๐ฑ Netherlands, and one or both of the following account membership permissions are set totrue
:canViewAccount
canInitiatePayments
Tax identification numberโ
The taxIdentificationNumber
field is required in the following cases:
- If both
accountCountry
andresidencyAddress.country
are ๐ฎ๐น Italy, and the account membership has thecanInitiatePayments
permission set totrue
. - If both
accountCountry
andresidencyAddress.country
are ๐ฉ๐ช Germany, and one or both of the following account membership permissions are set totrue
:canViewAccount
canInitiatePayments
Membership languageโ
You can choose and update the language used for account memberships. The following communications use the account membership language:
- The email your account members receive inviting them to accept an account membership.
- The letter included with the account member's physical card.
- When using their physical card, payment terminals and point of service (POS) screens.
By default, account memberships inherit the same language as the account. It's possible, however, that not all account members prefer the language chosen by the account holder.
You can update the language for each account membership with the API. If you use Swan's Web Banking interface, eligible account members can choose the preferred language when inviting new account members through the app. Account members can also use the app to update their preferred language independently.
Supported languagesโ
Several languages are available for account memberships:
- Dutch (
nl
) - English (
en
) - Finnish (
fi
) - French (
fr
) - German (
de
) - Italian (
it
) - Portuguese (
pt
) - Spanish (
es
)
fi
)Finnish is a supported account language and account membership language with certain limitations:
- Finnish isn't available as a card language. When the account language is Finnish, the card language defaults to English, which includes card packaging and the language displayed on payment terminals.
- Finnish isn't available for the bank details document. When the account language is Finnish, the bank details document is generated in English.
Physical cards & membership languageโ
The language used for physical cards can't be updated. Language choice, just like the four-digit PIN, is coded on the card's chip. The card's language can't be updated for a renewed card, either, because the expiring card's chip is replicated for the new card and can't be changed.
If an account member has a physical card that doesn't use their preferred language, you or the cardholder needs to complete the following steps:
Account membership statusesโ
Account membership status | Explanation |
---|---|
ConsentPending | An account membership request was sent using the addAccountMembership mutation and is waiting for the inviter'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 account membership with the addAccountMembership mutation.Next steps:
If you're subscribed to the AccountMembership.Updated webhook, you'll receive a notification when a membership is Disabled . |
InvitationSent | An invitation was sent to the invited account member. Next steps:
|
Enabled | All 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. |
BindingUserError | The personal information you submitted about the invited account member doesn't match the information they provide during the sign-up process. The mismatch must be solved before continuing. Refer to the section on binding user errors for more information. |
Suspended | Account 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:
|
Disabled | Account membership is disabled, is no longer available for use, and can't be restored. |
Binding user errorsโ
The account membership status can be BindingUserError
for several reasons, including the following scenarios:
- The information you submitted about the invited account member doesn't match the information they provided when signing up for an account.
- The user hasn't completed identification.
- If you invited the account member by verified email, the email you provided might not match the email they used to sign up, or they might not have verified their email yet.
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.
To fix binding errors, refer to the guide to fix a user binding error for detailed resolution steps based on the specific error type.
After an account member's status is Enabled
, updating their personal details doesn't cause a user binding error.
If fraud is suspected, suspend the membership.
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 if your project is configured to remove identification, memberships with the following permissions can't bypass it:
canManageAccountMembership
canInitiatePayments
canManageBeneficiaries
Note that this configuration is retroactive. Memberships created before identification was removed no longer need to verify their identity. 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 include 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).