DepositCheckRequest
public struct DepositCheckRequest : Encodable, Sendable
Model that holds the check deposit data.
-
The image of the front of the check.
Declaration
Swift
public let frontImage: String? -
The image of the back of the check.
Declaration
Swift
public let backImage: 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 amount is the value associated with the check, in cents.
Declaration
Swift
public let amount: Int64 -
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 -
Service fees associated with the load funds transaction.
Declaration
Swift
public let serviceFees: [ServiceFee]? -
Auxiliary constructor.
Declaration
Swift
public init( currency: String, amount: Int64, externalId: String, serviceFees: [ServiceFee]? = nil )Parameters
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.amountThe amount is the value associated with the check, in cents.
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.<
serviceFeesService fees associated with the load funds transaction.
-
Auxiliary constructor.
Declaration
Swift
public init( frontImage: String?, backImage: String?, currency: String, amount: Int64, externalId: String, serviceFees: [ServiceFee]? = nil )Parameters
frontImageThe image of the front of the check.
backImageThe image of the back of the check.
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.amountThe amount is the value associated with the check, in cents.
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.<
serviceFeesService fees associated with the load funds transaction.
View on GitHub