BankRequest

public struct BankRequest : Encodable

Bank request model.

  • Three-letter country code (ISO 3166-1 alpha-3). The keys can be mapped from Country if you want type safety.

    Declaration

    Swift

    public var country: String
  • The currency details what currency type will be used for transactions, using the ISO-4217 format. The keys can be mapped from Currency if you want type safety.

    Declaration

    Swift

    public var currency: String
  • The bank account details need to be one of the structures.

    Declaration

    Swift

    public var bankAccountDetails: BankAccountDetails
  • 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 var externalId: String
  • Auxiliary constructor.

    Declaration

    Swift

    public init(
        externalId: String,
        country: String,
        currency: String,
        bankAccountDetails: BankAccountDetails)

    Parameters

    country

    Three-letter country code (ISO 3166-1 alpha-3). The keys can be mapped from Country if you want type safety.

    currency

    The currency details what currency type will be used for transactions, using the ISO-4217 format. The keys can be mapped from Currency if you want type safety.

    bankAccountDetails

    The bank account details need to be one of the structures.

    externalId

    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.