Skip to main content

BankAccount

The BankAccount class represents an account at a banking institution. Reference: GoCardless Documentation

Properties​

Id - Guid​

The unique id of the account assigned by GoCardless.

Iban - string​

The IBAN of the account.

Created - DateTime​

The time this account was created.

LastAccessed - DateTime?​

The time this account was last accessed via the API.

InstitutionId - string​

The institution id this account belongs to.

OwnerName - string?​

Name of the legal account owner. If there is more than one owner, then two names might be noted here.

Status - BankAccountStatus​

The status of the account (e.g. user has successfully authenticated and account is discovered).

Constructor​

public BankAccount(Guid id, DateTime created, DateTime? lastAccessed, string iban,
string institutionId, string? ownerName, BankAccountStatus status)

Parameters​

id - Guid​

The unique id of the account assigned by GoCardless.

iban - string​

The IBAN of the account.

created - DateTime​

The time this account was created.

lastAccessed - DateTime?​

The time this account was last accessed via the API.

institutionId - string​

The institution id this account belongs to.

ownerName - string?​

Name of the legal account owner. If there is more than one owner, then two names might be noted here.

status - BankAccountStatus​

The status of the account (e.g. user has successfully authenticated and account is discovered).