passkit

Accept Apple Pay payments and manage Wallet passes in iOS apps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/KumarAdi8/AgentKit --skill passkit-kumaradi8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: passkit
Source: https://github.com/KumarAdi8/AgentKit/tree/main/skills/passkit
Command: npx skills add https://github.com/KumarAdi8/AgentKit --skill passkit-kumaradi8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enable iOS apps to accept Apple Pay payments and manage Wallet passes without guesswork by providing configuration steps, availability checks, payment request construction, payment sheet presentation, authorization handling, and pass management guidance.

Core Features & Use Cases

  • Apple Pay Integration: Configure merchant IDs and payment processing certificates, build PKPaymentRequest with supported networks and merchant capabilities, and present the system payment sheet.
  • Authorization & Token Handling: Implement PKPaymentAuthorizationControllerDelegate to securely forward PKPaymentToken to backend processors and handle success/failure results.
  • Wallet Pass Management: Load and add .pkpass bundles, check and update the PKPassLibrary, and handle pass updates via server push for dynamic content.
  • Use Case: A retail app uses this Skill to show an Apple Pay button only when available, collect shipping contact fields, recalculate totals when shipping methods change, and securely send the payment token to a server for capture.

Quick Start

Start a payment flow to create a PKPaymentRequest, present PKPaymentAuthorizationController, and securely send the returned payment token to your backend for processing.

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 in my iOS app using Swift?

To implement Apple Pay, configure your merchant ID and payment processing certificates, construct a PKPaymentRequest with supported networks and merchant capabilities, present the payment sheet, and handle the PKPaymentToken securely on your backend.

How do I add Wallet passes to an iOS application?

You can add Wallet passes by loading .pkpass bundles into your app, utilizing PKPassLibrary to check and update pass states, and handling server push notifications to refresh dynamic pass content automatically.

How does PKPaymentAuthorizationControllerDelegate handle Apple Pay transactions?

The PKPaymentAuthorizationControllerDelegate securely forwards the authorized PKPaymentToken to your backend processors for server-side capture and manages the success or failure callbacks to complete the checkout flow.

Do I need a merchant ID and certificates to accept Apple Pay?

Yes, accepting Apple Pay requires configuring a merchant ID and obtaining payment processing certificates to build a valid PKPaymentRequest and securely decrypt the payment token on your server.

Can I show an Apple Pay button only when it is available?

Yes, you can check Apple Pay availability in your iOS app before showing the payment button, ensuring the system payment sheet only appears when the device supports the configured payment networks.

Why do I need to recalculate totals when shipping methods change in Apple Pay?

Recalculating totals during the Apple Pay checkout flow ensures the final amount matches the selected shipping method, allowing the PKPaymentRequest to update dynamically before final payment authorization.