CreateP2PPaymentAsPayerRequest

public struct CreateP2PPaymentAsPayerRequest : Encodable, Equatable

Request model for creating a person-to-person (P2P) payment as a payer (sending).

  • The amount of the payment.

    Declaration

    Swift

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

    Declaration

    Swift

    public let message: String
  • The ID of the payment means used by the payer.

    Declaration

    Swift

    public let payerPaymentMeansId: String
  • The proxy hash of the payee.

    Declaration

    Swift

    public let payeeProxyHash: String
  • Initializes a new instance of the CreateP2PPaymentAsPayerRequest struct.

    Declaration

    Swift

    public init(amount: PaymentAmount, message: String, payerPaymentMeansId: String, payeeProxyHash: String)

    Parameters

    amount

    The amount of the payment.

    message

    The message associated with the payment.

    payerPaymentMeansId

    The ID of the payment means used by the payer.

    payeeProxyHash

    The proxy hash of the payee.