Agent skill · software engineering · dpearson2699
passkit
Integrate Apple Pay payments and Wallet passes using PassKit. Use when adding Apple Pay buttons, creating payment requests, handling payment authorization, adding passes to Wallet, configuring merchant capabilities, managing shipping/contact fields, or working with PKPaymentRequest, PKPaymentAuthorizationController, PKPaymentButton, AddPassToWalletButton, PKPass, PKAddPassesViewController, PKPassLibrary, Wallet pass distribution, or Apple Pay checkout flows for physical goods, real-world services, donations, and eligible recurring payments.
Why this skill is useful
Provides specific implementation details and code examples for integrating Apple Pay and Wallet passes that the AI wouldn't reliably generate on its own.
What it needs
Requires apple account access. About 6k tokens when loaded. Last updated 2026-07-31. 973 stars on the source repository.
What this skill does
PassKit Accept Apple Pay payments for physical goods, real-world services, donations, and eligible recurring payments, and add passes to the user's Wallet. Covers payment buttons, payment requests, authorization, Wallet passes, and merchant configuration. Targets Swift 6.3 / iOS 26+. For advanced Apple Pay flows, one PKPaymentRequest can set only one optional advanced request type: recurring, automatic reload, deferred, Apple Pay Later availability, or multi-token contexts. Use separate payment requests when a checkout needs more than one of those modes. Contents Setup Displaying the Apple Pay Button Creating a Payment Request Presenting the Payment Sheet Handling Payment Authorization Wallet Passes Checking Pass Library Common Mistakes Review Checklist References Setup Project Configuration 1. Enable the Apple Pay capability in Xcode 2. Create a Merchant ID in the Apple Developer portal (format: merchant.com.example.app) 3. Generate and install a Payment Processing Certificate for your merchant ID 4. Add the merchant ID to your entitlements Availability Check Always verify the device can make payments before showing Apple Pay UI. If you check for an active card with canMakePayments(usingNetworks:capabilities:), Apple's HIG expects Apple Pay to be a primary, prominent payment option wherever you use that check. Displaying the Apple Pay Button SwiftUI Use the built-in PayWithApplePayButton view in SwiftUI. Use Apple-provided button APIs for any control labeled Apple Pay; custom buttons must not include the Apple Pay logo or "Apple Pay" text. UIKit Use PKPaymentButton for UIKit-based interfaces. Button types: .plain, .buy, .setUp, .inStore, .donate, .checkout, .continue, .book, .subscribe, .reload, .addMoney, .topUp, .order, .rent, .support, .contribute, .tip Creating a Payment Request Build a PKPaymentRequest with your merchant details and the items being purchased. PassKit amount APIs take NSDecimalNumber, not Double. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills dpearson2699/passkit