<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPaymentButtonType/setUp",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:@E@PKPaymentButtonType@PKPaymentButtonTypeSetUp"
  },
  "title" : "PKPaymentButtonType.setUp"
}
-->

# PKPaymentButtonType.setUp

An Apple Pay button useful for prompting the user to set up a card.

```
case setUp
```

## Discussion

This button looks like:

![A button with the text “Set up” and the Apple Pay logo.](images/com.apple.passkit/media-2903982@2x.png)

You can display this button when the device and parental controls support Apple Pay but the user has not yet added a card. Use the [`PKPaymentAuthorizationViewController`](/documentation/PassKit/PKPaymentAuthorizationViewController) class’s [`canMakePayments()`](/documentation/PassKit/PKPaymentAuthorizationViewController/canMakePayments()) method to determine whether the device supports Apple Pay. If [`canMakePayments()`](/documentation/PassKit/PKPaymentAuthorizationViewController/canMakePayments()) returns <doc://com.apple.documentation/documentation/Swift/true>, call [`canMakePayments(usingNetworks:capabilities:)`](/documentation/PassKit/PKPaymentAuthorizationViewController/canMakePayments(usingNetworks:capabilities:)) to determine whether the user has added any cards.

As soon as the user taps this button, initiate the process of setting up a new card (for example, by calling the [`openPaymentSetup()`](/documentation/PassKit/PKPassLibrary/openPaymentSetup()) method).

For design guidance, see [Human Interface Guidelines > Apple Pay > Buttons and Marks](https://developer.apple.com/design/human-interface-guidelines/apple-pay/overview/buttons-and-marks/).

---

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)