UpdateBeneficiaryRequest
public struct UpdateBeneficiaryRequest : Encodable, Sendable
Create beneficiary request model.
-
The unique identifier of this beneficiary in your own system.
Declaration
Swift
public let externalId: String? -
The beneficiary’s first name. Optional.
Declaration
Swift
public let firstName: String? -
The beneficiary’s middle name.
Declaration
Swift
public let middleName: String? -
The beneficiary’s second last name.
Declaration
Swift
public let secondLastName: String? -
The beneficiary’s last name. Optional.
Declaration
Swift
public let lastName: String? -
The business’ name. Optional.
Declaration
Swift
public let businessName: String? -
Beneficiary address model. Optional.
Declaration
Swift
public let address: OptionalAddress? -
Beneficiary date of birth. Optional.
Declaration
Swift
public let dateOfBirth: String? -
The beneficiary’s phone number. Optional.
Declaration
Swift
public let phoneNumber: String? -
The beneficiary’s label. Optional.
Declaration
Swift
public let label: String? -
Identifying number used for tax purposes.
Declaration
Swift
public let taxId: String? -
The beneficiary’s id information.
Declaration
Swift
public let idInformation: IdInformation? -
init(firstName:middleName: secondLastName: lastName: businessName: address: dateOfBirth: externalId: phoneNumber: label: taxId: idInformation: ) Auxiliary constructor.
Declaration
Swift
public init(firstName: String? = nil, middleName: String? = nil, secondLastName: String? = nil, lastName: String? = nil, businessName: String? = nil, address: OptionalAddress? = nil, dateOfBirth: String? = nil, externalId: String? = nil, phoneNumber: String? = nil, label: String? = nil, taxId: String? = nil, idInformation: IdInformation? = nil)Parameters
firstNameThe beneficiary’s first name. Optional.
middleNameThe beneficiary’s middle name. Optional.
secondLastNameThe beneficiary’s second last name. Optional.
lastNameThe beneficiary’s last name. Optional.
businessNameThe business’ name. Optional.
addressBeneficiary address model. Optional.
dateOfBirthBeneficiary date of birth. Optional.
externalIdThe unique identifier of this beneficiary in your own system. Optional.
phoneNumberThe beneficiary’s phone number. Optional.
labelThe beneficiary’s label. Optional.
taxIdIdentifying number used for tax purposes. Optional.
idInformationThe beneficiary’s id information. Optional.
View on GitHub