Represents the result of authorizing a payment request and contains payment information, encrypted in the payment token.

interface Payment {
    billingContact?: Contact;
    shippingContact?: Contact;
    shippingMethod?: CdvPurchase.ApplePay.ShippingMethod;
    token: PaymentToken;
}

Properties

billingContact?: Contact

The user-selected billing address for this transaction.

shippingContact?: Contact

The user-selected shipping address for this transaction.

The user-selected shipping method for this transaction.

A value is set for this property only if the corresponding payment request specified available shipping methods in the shippingMethods property of the PaymentRequest object. Otherwise, the value is undefined.

The encrypted payment information.

See

doc://com.apple.documentation/documentation/passkit/apple_pay/payment_token_format_reference?language=swift