UpdateBeneficiaryRequest
public struct UpdateBeneficiaryRequest : Encodable
Create beneficiary request model.
-
The unique identifier of this beneficiary in your own system.
Declaration
Swift
public var externalId: String?
-
The beneficiary’s first name. Optional.
Declaration
Swift
public var firstName: String?
-
The beneficiary’s last name. Optional.
Declaration
Swift
public var lastName: String?
-
The business’ name. Optional.
Declaration
Swift
public var businessName: String?
-
Three-letter country code (ISO 3166-1 alpha-3). Optional. The keys can be mapped from
Country
if you want type safety.Declaration
Swift
public var country: String?
-
The currency details what currency type is being used for the transaction, using the ISO-4217 format. The keys can be mapped from
Currency
if you want type safety. Optional.Declaration
Swift
public var currency: String?
-
The bank account details need to be one of the structures. Optional.
Declaration
Swift
public var bankAccountDetails: BankAccountDetails?
-
Beneficiary address model. Optional.
Declaration
Swift
public var address: Address?
-
Beneficiary date of birth. Optional.
Declaration
Swift
public var dateOfBirth: String?
-
init(firstName:
lastName: businessName: country: currency: bankAccountDetails: address: dateOfBirth: externalId: ) Auxiliary constructor.
Declaration
Swift
public init(firstName: String? = nil, lastName: String? = nil, businessName: String? = nil, country: String? = nil, currency: String? = nil, bankAccountDetails: BankAccountDetails? = nil, address: Address? = nil, dateOfBirth: String? = nil, externalId: String? = nil)
Parameters
firstName
The beneficiary’s first name. Optional.
lastName
The beneficiary’s last name. Optional.
businessName
The business’ name. Optional.
country
Three-letter country code (ISO 3166-1 alpha-3). Optional. The keys can be mapped from
Country
if you want type safety.currency
The currency details what currency type is being used for the transaction, using the ISO-4217 format. The keys can be mapped from
Currency
if you want type safety. Optional.bankAccountDetails
The bank account details need to be one of the structures. Optional.
address
Beneficiary address model. Optional.
dateOfBirth
Beneficiary date of birth. Optional.
externalId
The unique identifier of this beneficiary in your own system. Optional.