What problem does it solve?
PassKit integration helps you safely take Apple Pay payments and deliver Wallet passes to users without building a custom payment UI or pass distribution pipeline.
Core Features & Use Cases
- Apple Pay button presentation: Show the correct system-provided Apple Pay button and gate it behind an availability check.
- Payment request + authorization flow: Create a
PKPaymentRequest, present the payment sheet, and handle PKPaymentAuthorizationController delegate callbacks to process the payment token.
- Wallet pass delivery and management: Add signed
.pkpass bundles to Wallet via PKAddPassesViewController and inspect existing passes with PKPassLibrary.
- Use cases: Checkout for physical goods, event tickets, memberships, and any flow where users need both payment processing and an in-Wallet credential.
Quick Start
Implement an availability check with PKPaymentAuthorizationController.canMakePayments, build a PKPaymentRequest with merchant identifier and summary items (with the total as the last item), then present the payment authorization controller and forward the payment.token.paymentData to your processor.