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

# PKPaymentButton

An object that displays a button either to trigger payments through Apple Pay or to prompt the user to set up a card.

```
class PKPaymentButton
```

## Overview

After creating a [`PKPaymentButton`](/documentation/PassKit/PKPaymentButton) object, you choose the type and style of button, and the system provides a control with the correct content and appearance. See the [Human Interface Guidelines > Apple Pay](https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/buttons-and-marks/) for more information.

To trigger a payment through Apple Pay in a WatchKit app, use <doc://com.apple.documentation/documentation/WatchKit/WKInterfacePaymentButton> instead.

## Topics

### Creating payment buttons

[`buttonWithType:style:`](/documentation/PassKit/PKPaymentButton/buttonWithType:style:)

Creates a new payment button with the specified type and style.

[`init(paymentButtonType:paymentButtonStyle:)`](/documentation/PassKit/PKPaymentButton/init(paymentButtonType:paymentButtonStyle:))

Creates a new payment button with the specified type and style.

### Configuring the appearance

[`PKPaymentButtonType`](/documentation/PassKit/PKPaymentButtonType)

The Apple Pay button types you can display to initiate Apple Pay transactions.

[`PKPaymentButtonStyle`](/documentation/PassKit/PKPaymentButtonStyle)

A type that indicates the available appearances for an Apple Pay button.

[`cornerRadius`](/documentation/PassKit/PKPaymentButton/cornerRadius)

The radius, in points, for the rounded corners on the button.

## See Also

  [iOS Human Interface Guidelines](https://developer.apple.com/ios/human-interface-guidelines/)



---

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)