<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPayLaterView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPayLaterView"
  },
  "title" : "PKPayLaterView"
}
-->

# PKPayLaterView

A view that displays the Apple Pay Later visual merchandising widget.

```
class PKPayLaterView
```

## Overview

Use this view to display a widget that allows people to learn more about the Apple Pay Later feature.

## Topics

### Creating the widget

[`convenience init(amount: Decimal, currency: Locale.Currency)`](/documentation/PassKit/PKPayLaterView/init(amount:currency:))

Creates a new Apple Pay Later visual merchandising widget view with the shopping cart amount and currency you specify.

[`- (instancetype) initWithAmount:(NSDecimalNumber *) amount currencyCode:(NSString *) currencyCode;`](/documentation/PassKit/PKPayLaterView/initWithAmount:currencyCode:)

Creates a new Apple Pay Later visual merchandising widget view with the amount and currency code you specify.

### Accessing information about the transaction

[`var amount: Decimal`](/documentation/PassKit/PKPayLaterView/amount-f3gs)

The decimal value that represents the amount of the customer’s shopping cart or item pricing.

[`var currency: Locale.Currency`](/documentation/PassKit/PKPayLaterView/currency)

The ISO-4217 currency code for the country or region of the merchant’s principle place of business.

[`@property (nonatomic, copy) NSDecimalNumber * amount;`](/documentation/PassKit/PKPayLaterView/amount-1jzg2)

The decimal value that represents the amount of the customer’s shopping cart or item pricing.

[`@property (nonatomic, copy) NSString * currencyCode;`](/documentation/PassKit/PKPayLaterView/currencyCode)

A string that represents the ISO-4217 currency code for the country or region of the merchant’s principle place of business.

### Responding to changes in the view’s height

[`var delegate: any PKPayLaterViewDelegate`](/documentation/PassKit/PKPayLaterView/delegate)

A delegate object that receives messages about the changes to the Apple Pay Later view.

[`protocol PKPayLaterViewDelegate`](/documentation/PassKit/PKPayLaterViewDelegate)

Methods the framework calls when the Apple Pay Later view’s size changes.

### Setting the user action

[`var action: PKPayLaterAction`](/documentation/PassKit/PKPayLaterView/action)

The information style that the Apple Pay Later view presents.

[`enum PKPayLaterAction`](/documentation/PassKit/PKPayLaterAction)

Values you use to set the Apple Pay Later action.

### Styling the view

[`var displayStyle: PKPayLaterDisplayStyle`](/documentation/PassKit/PKPayLaterView/displayStyle)

The style to use when presenting the Apple Pay Later visual merchandising widget view.

[`enum PKPayLaterDisplayStyle`](/documentation/PassKit/PKPayLaterDisplayStyle)

Values you use to style an Apple Pay Later visual merchandising widget.

### Validating transactions

[`enum PKPayLater`](/documentation/PassKit/PKPayLater)

Functions for validating information the framework displays in an Apple Pay Later visual merchandising widget.

[`extern void PKPayLaterValidateAmount(NSDecimalNumber *amount, NSString *currencyCode, void (^completion)(BOOL eligible));`](/documentation/PassKit/PKPayLaterValidateAmount)

Checks if the framework can display Apple Pay Later visual merchandising widget information for the given amount and currency.

## Relationships

### Conforms To

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`Equatable`](/documentation/Swift/Equatable)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`Hashable`](/documentation/Swift/Hashable)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`Sendable`](/documentation/Swift/Sendable)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UILargeContentViewerItem`](/documentation/UIKit/UILargeContentViewerItem)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`CVarArg`](/documentation/Swift/CVarArg)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

### Inherits From

[`UIView`](/documentation/UIKit/UIView)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)