AccountMembership
An account membership represents the rights of a user for a given account.
Each account is administered by an account membership having the capacity of legal representative. He has the possibility of delegating rights on this account to other users.
type AccountMembership {
id: ID!
email: String!
user: User
legalRepresentative: Boolean!
canViewAccount: Boolean!
canManageBeneficiaries: Boolean!
canInitiatePayments: Boolean!
canManageAccountMembership: Boolean!
canManageCards: Boolean!
statusInfo: AccountMembershipStatusInfo!
accountId: ID!
account: Account
spendingLimits: [SpendingLimit!]
createdAt: DateTime!
updatedAt: DateTime!
version: String!
residencyAddress: AddressInfo
taxIdentificationNumber: String
acceptedIdentificationLevels: [IdentificationLevel]!
recommendedIdentificationLevel: IdentificationLevel! @deprecated
hasRequiredIdentificationLevel: Boolean
disabledAt: DateTime
language: AccountLanguage
accountCountry: AccountCountry!
cards(
first: Int! = 50
before: String
after: String
orderBy: CardOrderByInput
filters: CardFiltersInput
): CardConnection!
spending: Spending
}
Fields
AccountMembership.id
● ID!
non-null scalar
Unique identifier of an account membership
AccountMembership.email
● String!
non-null scalar
AccountMembership.user
● User
object
user of this account membership
AccountMembership.legalRepresentative
● Boolean!
non-null scalar
true
if this account membership having the capacity of the legal representative of the account holder.
AccountMembership.canViewAccount
● Boolean!
non-null scalar
true
if this account membership can view account balances and transactions history
AccountMembership.canManageBeneficiaries
● Boolean!
non-null scalar
true
if this account membership can add or canceled beneficiaries
AccountMembership.canInitiatePayments
● Boolean!
non-null scalar
true
if this account membership can initiate credit transfers
AccountMembership.canManageAccountMembership
● Boolean!
non-null scalar
true
if this account membership can invite, update, suspend or resume memberships
AccountMembership.canManageCards
● Boolean!
non-null scalar
true
if this account membership can manage cards for himself or to the memberships he manages
AccountMembership.statusInfo
● AccountMembershipStatusInfo!
non-null interface
status of the account membership
AccountMembership.accountId
● ID!
non-null scalar
Unique identifier of the account of the account membership
AccountMembership.account
● Account
object
account of the account membership
AccountMembership.spendingLimits
● [SpendingLimit!]
list object
Periodic Spending limit list
AccountMembership.createdAt
● DateTime!
non-null scalar
Created date
AccountMembership.updatedAt
● DateTime!
non-null scalar
Updated date
AccountMembership.version
● String!
non-null scalar
version of the account membership started from '1' and incremented at every updates
AccountMembership.residencyAddress
● AddressInfo
object
Residency address of the member
AccountMembership.taxIdentificationNumber
● String
scalar
Tax Identification Number of the member
AccountMembership.acceptedIdentificationLevels
● [IdentificationLevel]!
non-null enum
List of accepted identification level
AccountMembership.recommendedIdentificationLevel
● IdentificationLevel!
deprecated non-null enum
Please use the identificationLevel=Auto
query parameter when building your Swan OAuth2 URLs. announcement
Recommended identification level
@deprecated(reason: "Please use the identificationLevel=Auto
query parameter when building your Swan OAuth2 URLs. announcement")
AccountMembership.hasRequiredIdentificationLevel
● Boolean
scalar
Indicate if the identity bound to the account membership has required identification level
AccountMembership.disabledAt
● DateTime
scalar
Disabled date
AccountMembership.language
● AccountLanguage
enum
Language of the account membership
AccountMembership.accountCountry
● AccountCountry!
non-null enum
Refers to the country of the account. It will determine the country code of the local IBAN of the account.
Available Account Country: CCA3
AccountMembership.cards
● CardConnection!
non-null object
account membership's cards
AccountMembership.cards.first
● Int!
non-null scalar
AccountMembership.cards.before
● String
scalar
AccountMembership.cards.after
● String
scalar
AccountMembership.cards.orderBy
● CardOrderByInput
input
When the list of elements needs to be ordered
AccountMembership.cards.filters
● CardFiltersInput
input
When the list of elements needs to be filtered
AccountMembership.spending
● Spending
object
Periodic Spending
Returned By
accountMembership
query
Member Of
Account
object ● AccountMembershipEdge
object ● AddAccountMembershipsSuccessPayload
object ● AddAccountMembershipSuccessPayload
object ● BindAccountMembershipSuccessPayload
object ● Card
object ● DisableAccountMembershipSuccessPayload
object ● PendingConsentAccountMembershipUpdate
object ● SuspendAccountMembershipSuccessPayload
object