Account
Whether you call it a wallet, monetary account, payment account or bank account, the notion of account is fundamental at Swan. All payment flows necessarily go through an account.
type Account {
id: ID!
number: AccountNumber!
name: String!
holder: AccountHolder!
cashAccountType: CashAccountType!
country: AccountCountry!
paymentLevel: PaymentLevel!
currency: Currency!
statusInfo: AccountStatusInfo!
partnershipStatusInfo: PartnershipStatusInfo
createdAt: DateTime!
updatedAt: DateTime!
virtualIbanEntries(
first: Int! = 50
before: String
after: String
filters: VirtualIbanEntriesFilterInput
): VirtualIBANEntryConnection!
memberships(
first: Int! = 50
before: String
after: String
filters: MembershipsFilterInput
orderBy: AccountMembershipOrderByInput
): AccountMembershipConnection!
requiredConsentToFetchNewTransactions: Boolean!
language: AccountLanguage!
legalRepresentativeMembership: AccountMembership!
paymentAccountType: PaymentAccountType!
upgradedAt: DateTime
bankDetails: String
settings: AccountSettings!
BIC: BIC!
IBAN: IBAN
blockSDD: Boolean
legalDocuments(
first: Int! = 50
after: String
filters: LegalDocumentsFilterInput
): LegalDocumentConnection
balances: AccountBalances
statements(
first: Int! = 50
after: String
filters: StatementFiltersInput
): StatementConnection
transactions(
first: Int! = 50
after: String
orderBy: TransactionsOrderByInput
filters: TransactionsFiltersInput
): TransactionConnection
invoices(
first: Int! = 10
after: String
): InvoiceConnection
creditLimitSettings: CreditLimitSettings
receivedDirectDebitMandates(
first: Int! = 50
after: String
orderBy: AccountReceivedDirectDebitOrderByInput
filters: AccountReceivedDirectDebitMandateFiltersInput
): ReceivedDirectDebitMandateConnection
merchantProfiles(
first: Int! = 50
after: String
orderBy: MerchantProfileOrderByInput
filters: MerchantProfileFiltersInput
): MerchantProfileConnection
standingOrders(
first: Int! = 50
after: String
offset: Int
orderBy: AccountStandingOrderOrderByInput
filters: AccountStandingOrderFiltersInput
): StandingOrderConnection!
fundingSources(
first: Int! = 50
after: String
offset: Int
orderBy: FundingSourceOrderByInput
filters: FundingSourceFiltersInput
): FundingSourceConnection
trustedBeneficiaries(
first: Int! = 50
after: String
offset: Int
orderBy: TrustedBeneficiaryOrderByInput
filters: TrustedBeneficiaryFiltersInput
): TrustedBeneficiaryConnection!
}
Fields
Account.id
● ID!
non-null scalar
Unique identifier of an account
Account.number
● AccountNumber!
non-null scalar
Unique account number
Account.name
● String!
non-null scalar
Account name
Account.holder
● AccountHolder!
non-null object
Account holder
Account.cashAccountType
● CashAccountType!
non-null enum
Cash account type
Account.country
● AccountCountry!
non-null enum
Country of the account