Instance Property

paymentData

The payment data as a UTF-8 encoded serialization of a JSON dictionary.

Declaration

var paymentData: Data { get }

Discussion

Send this data to your e-commerce back-end system, where it can be decrypted and submitted to your payment processor.

For the format of the payment data, see Payment Token Format Reference.

See Also

Working with Payment Tokens

var paymentMethod: PKPaymentMethod

Information about the card used in the transaction.

class PKPaymentMethod

Contains information about Apple Pay cards.

var transactionIdentifier: String

A unique identifier for this payment.