BankAccount

A BankAccount record is used to represent further information for an ExternalAccount record where the authority issuing the account is a bank.

It contains extra fields that are banking specific which can then be used for integrations with bank systems.

Metadata

  • Base Table Class: Static
  • Default Size: Account = 500

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this BankAccount.
StatusSet of Status4
ExternalAccountForeign key to ExternalAccount8This is a reference to the ExternalAccount table. It is keyed by the ExternalAccount column in this table to the Id column in the ExternalAccount table.
ExternalFKInteger (unsigned)8
PairedAccountForeign key to BankAccount8
IsZeroBalanceAccountInteger (unsigned)1
IsCustomerAccountInteger (unsigned)1
IsExchangeRevenueAccountInteger (unsigned)1
RoutingNumberString40
IBANValueString34
BankAccountTypeString34
BankAccountNumberString34
BankAccountNameString34
BankAccountIdString34
ABAString34
BankNameString34
BankAddress1String34
BankAddress2String34
BankAddress3String34
CityString34
StateString34
PostCodeString34
NameString48The long text identifier of this BankAccount.
FFCForeign key to BankAccount8
CountryForeign key to Country8This is a reference to the Country table. It is keyed by the Country column in this table to the Id column in the Country table.
BICIdString34
FEDIdString34
CHIPSIdString34
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
OwnerUserForeign key to User8The Id of the User that owns this BankAccount.
OwnerGroupForeign key to Group8The Id of the Group that owns this BankAccount.
OwnerFirmForeign key to Firm8The Id of the Firm that owns this BankAccount.
CreateUserForeign key to User8The Id of the User that created this BankAccount.
CreateTimestampInteger (unsigned)8The time at which this BankAccount was created.
UpdateUserForeign key to User8The Id of the User that last updated this BankAccount.
UpdateTimestampInteger (unsigned)8The time at which this BankAccount was last updated.

Foreign Keys

The following diagram shows the tables that have a foreign key link to the BankAccount table. All Table nodes can be clicked to take you to that table's definition page.

graph LR;
	Account-->|BankAccount|BankAccount
	click Account "/marketgrid/developer/model/tables/Account"