PlaidBankRequest
public struct PlaidBankRequest : Encodable, Sendable
Plaid bank request model.
-
Three-letter country code (ISO 3166-1 alpha-3). The keys can be mapped from
Countryif you want type safety.Declaration
Swift
public let country: String -
The currency details what currency type will be used for transactions, using the ISO-4217 format. The keys can be mapped from
Currencyif you want type safety.Declaration
Swift
public let currency: String -
The plaid public token.
Declaration
Swift
public let plaidPublicToken: String -
The plaid account id.
Declaration
Swift
public let plaidAccountId: String -
This is a value that identifies the bank in your own system. This field MUST be unique per account and it is used to validate against duplicate records.
Declaration
Swift
public let externalId: String -
Allows for any number of custom metadata keys and values to be stored with a given entity.
Declaration
Swift
public let metadata: [String : CustomValue]? -
Auxiliary constructor.
Declaration
Swift
public init( externalId: String, country: String, currency: String, plaidPublicToken: String, plaidAccountId: String, metadata: [String: CustomValue]? = nil)Parameters
externalIdThis is a value that identifies the bank in your own system. This field MUST be unique per account and it is used to validate against duplicate records.
countryThree-letter country code (ISO 3166-1 alpha-3). The keys can be mapped from
Countryif you want type safety.currencyThe currency details what currency type will be used for transactions, using the ISO-4217 format. The keys can be mapped from
Currencyif you want type safety.plaidPublicTokenThe plaid public token.
plaidAccountIdThe plaid account id.
metadataAllows for any number of custom metadata keys and values to be stored with a given entity.
View on GitHub