<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PayWithApplePayButton/init(_:request:onPaymentAuthorizationChange:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PassKit (Apple Pay and Wallet)",
      "SwiftUI",
      "_PassKit_SwiftUI"
    ],
    "preciseIdentifier" : "s:16_PassKit_SwiftUI012PayWithAppleE6ButtonVAA0cD09EmptyViewVRszrlE_7request28onPaymentAuthorizationChangeACyAFGAA0efgeH5LabelV_So16PKPaymentRequestCyAA0efgehmN5PhaseOctcfc"
  },
  "title" : "init(_:request:onPaymentAuthorizationChange:)"
}
-->

# init(_:request:onPaymentAuthorizationChange:)

```
nonisolated init(_ label: PayWithApplePayButtonLabel = .plain, request: PKPaymentRequest, onPaymentAuthorizationChange: @escaping (PayWithApplePayButtonPaymentAuthorizationPhase) -> Void)
```

---

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)