CreateP2PRequestAsPayeeRequest

public struct CreateP2PRequestAsPayeeRequest : Encodable, Equatable

Request model for creating a P2P request as a payer (requesting).

  • The amount of the payment.

    Declaration

    Swift

    public let amount: PaymentAmount
  • The message associated with the payment request.

    Declaration

    Swift

    public let message: String
  • The payment means ID of the payee.

    Declaration

    Swift

    public let payeePaymentMeansId: String
  • The proxy hash of the payer.

    Declaration

    Swift

    public let payerProxyHash: String
  • Initializes a CreateP2PRequestAsPayeeRequest instance with the given parameters.

    Declaration

    Swift

    public init(
        amount: PaymentAmount,
        message: String,
        payeePaymentMeansId: String,
        payerProxyHash: String
    )

    Parameters

    amount

    The amount of the payment.

    message

    The message associated with the payment request.

    payeePaymentMeansId

    The payment means ID of the payee.

    payerProxyHash

    The proxy hash of the payer.