TransferFundsRequest

public struct TransferFundsRequest : Encodable

Create beneficiary request model.

  • The amount to be sent to the beneficiary, in cents.

    Declaration

    Swift

    public let amount: Int
  • The beneficiary identifier. Beneficiary should be of type international

    Declaration

    Swift

    public let beneficiaryUuid: String
  • The array of Service Fees objects as per system definition. Optional.

    Declaration

    Swift

    public let serviceFees: [ServiceFee]?
  • A small description to identify the transaction. Optional.

    Declaration

    Swift

    public let description: String?
  • This value is used for idempotency purposes.

    Declaration

    Swift

    public let externalId: String
  • Auxiliary constructor.

    Declaration

    Swift

    public init(amount: Int,
                beneficiaryUuid: String,
                externalId: String,
                serviceFees: [ServiceFee]? = nil,
                description: String? = nil)

    Parameters

    amount

    The amount to be sent to the beneficiary, in cents.

    beneficiaryUuid

    The beneficiary identifier.

    externalId

    This value is used for idempotency purposes.

    description

    A small description to identify the transaction. Optional.

    serviceFees

    The array of Service Fees objects as per system definition. Optional.