passkit

Integrate Apple Pay payments and add .pkpass bundles to Wallet.

Updated May 10, 2026
One-click install
npx skills add https://github.com/FelixRauch/medat-figuren --skill passkit-felixrauch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: passkit
Source: https://github.com/FelixRauch/medat-figuren/tree/main/.agents/skills/passkit
Command: npx skills add https://github.com/FelixRauch/medat-figuren --skill passkit-felixrauch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about passkit

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

FAQPage Schema
How do I implement Apple Pay checkout in SwiftUI?

Apple Pay checkout requires creating a PKPaymentRequest with your merchant identifier and summary items, then presenting PKPaymentAuthorizationController to handle payment authorization delegate callbacks. You must check availability with canMakePayments before showing the Apple Pay button.

How do I add a .pkpass file to the Apple Wallet?

Adding a .pkpass file to Apple Wallet uses PKAddPassesViewController to present signed pass bundles, or PKPassLibrary to inspect existing passes. You load signed pass data and verify it before allowing users to add passes to their Wallet.

What do I need to configure before accepting Apple Pay payments?

Accepting Apple Pay payments requires correct merchant configuration, a valid merchant identifier, and secure server handling for the payment token. You forward payment.token.paymentData to your processor after the PKPaymentAuthorizationController delegate returns it.

Can I use PassKit to deliver event tickets and memberships to Wallet?

PassKit handles Wallet pass delivery for event tickets, memberships, and physical goods checkout. You create signed .pkpass bundles and add them via PKAddPassesViewController, enabling any flow needing both payment processing and an in-Wallet credential.

Why does my PKPaymentAuthorizationController fail to present?

PKPaymentAuthorizationController presentation fails if Apple Pay availability is not checked first using canMakePayments, or if the PKPaymentRequest lacks a valid merchant identifier and summary items with the total as the last item.