Beneficiary

public struct Beneficiary : Codable

Beneficiary model.

  • The beneficiary identifier.

    Declaration

    Swift

    public let beneficiaryUuid: String
  • The unique identifier of this beneficiary in your own system.

    Declaration

    Swift

    public let externalId: String
  • Whether the beneficiary can be used for local or international transactions.

    Declaration

    Swift

    public var type: BeneficiaryType
  • The user account current status.

    Declaration

    Swift

    public var statusString: String
  • The beneficiary account current status. Check statusString if nil.

    Declaration

    Swift

    public var status: BeneficiaryStatus? { get }
  • The beneficiary account status reason.

    Declaration

    Swift

    public var statusReason: String?
  • The beneficiary’s first name.

    Declaration

    Swift

    public var firstName: String
  • The beneficiary’s last name.

    Declaration

    Swift

    public var lastName: String
  • Beneficiary date of birth. Optional.

    Declaration

    Swift

    public var dateOfBirth: String?
  • 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 is being used for the transaction, using the ISO-4217 format.

    Declaration

    Swift

    public var currencyString: String
  • The currency details what currency type is being used for the transaction, using the ISO-4217 format. Check currencyString if nil.

    Declaration

    Swift

    public var currency: Currency? { get }
  • The bank account details need to be one of the structures.

    Declaration

    Swift

    public var bankAccountDetails: BankAccountDetails
  • Beneficiary address model.

    Declaration

    Swift

    public var address: OptionalAddress?
  • The beneficiary’s creation date.

    Declaration

    Swift

    public let created: String
  • The beneficiary’s modification date.

    Declaration

    Swift

    public let updated: String