CreateP2PPaymentAsPayerResponse

public struct CreateP2PPaymentAsPayerResponse : Decodable, Identifiable, Equatable

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

  • id

    The ID of the payment.

    Declaration

    Swift

    public let id: String
  • 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?
  • The status of the payment.

    Declaration

    Swift

    public let status: String
  • The embedded data within the response.

    Declaration

    Swift

    public let embedded: Embedded
  • Initializes a CreateP2PPaymentAsPayerResponse.

    Declaration

    Swift

    public init(
        id: String,
        amount: PaymentAmount,
        message: String,
        payerPaymentMeansId: String?,
        payeeProxyHash: String?,
        status: String,
        embedded: Embedded
    )

    Parameters

    id

    The ID of the payment.

    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.

    status

    The status of the payment.

    embedded

    The embedded data within the response.

  • Represents the embedded data within CreateP2PPaymentAsPayerResponse response.

    See more

    Declaration

    Swift

    public struct Embedded : Decodable, Equatable