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?
  • 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)

    Parameters

    firstName

    The beneficiary’s first name. Optional.

    middleName

    The beneficiary’s middle name. Optional.

    secondLastName

    The beneficiary’s second last name. Optional.

    lastName

    The beneficiary’s last name. Optional.

    businessName

    The business’ name. Optional.

    address

    Beneficiary address model. Optional.

    dateOfBirth

    Beneficiary date of birth. Optional.

    externalId

    The unique identifier of this beneficiary in your own system. Optional.

    phoneNumber

    The beneficiary’s phone number. Optional.

    label

    The beneficiary’s label. Optional.