Class

PKPaymentToken

Contains the user’s payment credentials.

Declaration

class PKPaymentToken : NSObject

Overview

You access the payment token for an authorized payment request using the token property of PKPayment.

Topics

Working with Payment Tokens

var paymentData: Data

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

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.

Deprecated

var paymentNetwork: String

The payment network for the card that funds this transaction.

Deprecated
var paymentInstrumentName: String

A description of the payment card that the user selected to fund the transaction.

Deprecated

Relationships

Inherits From

Conforms To

See Also

Working with the Payment Token

var token: PKPaymentToken

The encrypted payment information.