passkit

Integrate Apple Pay payments and Wallet passes into iOS apps.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill passkit-onymchat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: passkit
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/passkit
Command: npx skills add https://github.com/onymchat/onym-ios --skill passkit-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Integrates Apple Pay payments and Wallet passes into iOS apps to streamline checkout flows and pass management.

Core Features & Use Cases

  • Apple Pay button integration and payment sheet presentation
  • Wallet passes creation, addition, and library management
  • Support for PKPaymentRequest, PKPaymentAuthorizationController, PKPass, PKAddPassesViewController

Quick Start

Add PassKit setup to your Xcode project and run a test payment flow to verify Apple Pay integration.

Frequently Asked Questions about passkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Apple Pay into my iOS app using Swift?

To integrate Apple Pay in Swift, you use PKPaymentRequest to define transaction details and PKPaymentAuthorizationController to present the payment sheet and handle user authorization. This workflow applies to both SwiftUI and UIKit environments.

How do I add Wallet passes to an iOS application?

Adding Wallet passes involves using PKPass to construct the pass data and PKAddPassesViewController to prompt the user to add it to their Wallet. This provides a structured workflow for creating, adding, and managing passes within your app.

Does PassKit support both SwiftUI and UIKit for mobile payments?

Yes, the PassKit integration workflow supports both SwiftUI and UIKit. It provides structured setup steps and capability checks to ensure Apple Pay buttons and payment requests function correctly across both UI frameworks.

What is the best way to handle Apple Pay button integration and payment authorization?

The best way to handle Apple Pay authorization is by configuring a PKPaymentRequest with your merchant details and using PKPaymentAuthorizationController to manage the checkout flow. This streamlines the presentation and processing of mobile payments.

When do I need to use PKPaymentRequest for Apple Pay?

You need to use PKPaymentRequest when you are ready to initiate an Apple Pay transaction. It defines the payment amount, merchant identifier, and supported networks required before presenting the authorization controller to the user.

What are the setup steps required to verify Apple Pay integration in Xcode?

Setup requires adding the PassKit capability to your Xcode project and running a test payment flow. This verifies that your Apple Pay integration is correctly configured and the payment sheet presents without errors.