{"id":"7c5e0b3a-49d4-443a-b92f-0c2135eae4e5","shortId":"b5QFNJ","kind":"skill","title":"passkit","tagline":"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 and contact fields, or working with PKPaymentR","description":"# PassKit\n\nAccept Apple Pay payments for physical goods and services, and add passes to\nthe user's Wallet. Covers payment buttons, payment requests, authorization,\nWallet passes, and merchant configuration. Targets Swift 6.3 / iOS 26+.\n\n## Contents\n\n- [Setup](#setup)\n- [Displaying the Apple Pay Button](#displaying-the-apple-pay-button)\n- [Creating a Payment Request](#creating-a-payment-request)\n- [Presenting the Payment Sheet](#presenting-the-payment-sheet)\n- [Handling Payment Authorization](#handling-payment-authorization)\n- [Wallet Passes](#wallet-passes)\n- [Checking Pass Library](#checking-pass-library)\n- [Common Mistakes](#common-mistakes)\n- [Review Checklist](#review-checklist)\n- [References](#references)\n\n## Setup\n\n### Project Configuration\n\n1. Enable the **Apple Pay** capability in Xcode\n2. Create a Merchant ID in the Apple Developer portal (format: `merchant.com.example.app`)\n3. Generate and install a Payment Processing Certificate for your merchant ID\n4. Add the merchant ID to your entitlements\n\n### Availability Check\n\nAlways verify the device can make payments before showing Apple Pay UI.\n\n```swift\nimport PassKit\n\nfunc canMakePayments() -> Bool {\n    // Check device supports Apple Pay at all\n    guard PKPaymentAuthorizationController.canMakePayments() else {\n        return false\n    }\n    // Check user has cards for the networks you support\n    return PKPaymentAuthorizationController.canMakePayments(\n        usingNetworks: [.visa, .masterCard, .amex, .discover],\n        capabilities: .threeDSecure\n    )\n}\n```\n\n## Displaying the Apple Pay Button\n\n### SwiftUI\n\nUse the built-in `PayWithApplePayButton` view in SwiftUI.\n\n```swift\nimport SwiftUI\nimport PassKit\n\nstruct CheckoutView: View {\n    var body: some View {\n        PayWithApplePayButton(.buy) {\n            startPayment()\n        }\n        .payWithApplePayButtonStyle(.black)\n        .frame(height: 48)\n        .padding()\n    }\n}\n```\n\n### UIKit\n\nUse `PKPaymentButton` for UIKit-based interfaces.\n\n```swift\nlet button = PKPaymentButton(\n    paymentButtonType: .buy,\n    paymentButtonStyle: .black\n)\nbutton.cornerRadius = 12\nbutton.addTarget(self, action: #selector(startPayment), for: .touchUpInside)\n```\n\n**Button types:** `.buy`, `.setUp`, `.inStore`, `.donate`, `.checkout`, `.book`, `.subscribe`, `.reload`, `.addMoney`, `.topUp`, `.order`, `.rent`, `.support`, `.contribute`, `.tip`\n\n## Creating a Payment Request\n\nBuild a `PKPaymentRequest` with your merchant details and the items being purchased.\n\n```swift\nfunc createPaymentRequest() -> PKPaymentRequest {\n    let request = PKPaymentRequest()\n    request.merchantIdentifier = \"merchant.com.example.app\"\n    request.countryCode = \"US\"\n    request.currencyCode = \"USD\"\n    request.supportedNetworks = [.visa, .masterCard, .amex, .discover]\n    request.merchantCapabilities = .threeDSecure\n\n    request.paymentSummaryItems = [\n        PKPaymentSummaryItem(label: \"Widget\", amount: 9.99),\n        PKPaymentSummaryItem(label: \"Shipping\", amount: 4.99),\n        PKPaymentSummaryItem(label: \"My Store\", amount: 14.98) // Total (last item)\n    ]\n\n    return request\n}\n```\n\nThe **last item** in `paymentSummaryItems` is treated as the total and its label appears as the merchant name on the payment sheet.\n\n### Requesting Shipping and Contact Info\n\n```swift\nrequest.requiredShippingContactFields = [.postalAddress, .emailAddress, .name]\nrequest.requiredBillingContactFields = [.postalAddress]\n\nrequest.shippingMethods = [\n    PKShippingMethod(label: \"Standard\", amount: 4.99),\n    PKShippingMethod(label: \"Express\", amount: 9.99),\n]\nrequest.shippingMethods?[0].identifier = \"standard\"\nrequest.shippingMethods?[0].detail = \"5-7 business days\"\nrequest.shippingMethods?[1].identifier = \"express\"\nrequest.shippingMethods?[1].detail = \"1-2 business days\"\n\nrequest.shippingType = .shipping // .delivery, .storePickup, .servicePickup\n```\n\n### Supported Networks\n\n| Network | Constant |\n|---|---|\n| Visa | `.visa` |\n| Mastercard | `.masterCard` |\n| American Express | `.amex` |\n| Discover | `.discover` |\n| China UnionPay | `.chinaUnionPay` |\n| JCB | `.JCB` |\n| Maestro | `.maestro` |\n| Electron | `.electron` |\n| Interac | `.interac` |\n\nQuery available networks at runtime with `PKPaymentRequest.availableNetworks()`.\n\n## Presenting the Payment Sheet\n\nUse `PKPaymentAuthorizationController` (works in both SwiftUI and UIKit, no view controller needed).\n\n```swift\n@MainActor\nfunc startPayment() {\n    let request = createPaymentRequest()\n    let controller = PKPaymentAuthorizationController(paymentRequest: request)\n    controller.delegate = self\n    controller.present()\n}\n```\n\n## Handling Payment Authorization\n\nImplement `PKPaymentAuthorizationControllerDelegate` to process the payment token.\n\n```swift\nextension CheckoutCoordinator: PKPaymentAuthorizationControllerDelegate {\n    func paymentAuthorizationController(\n        _ controller: PKPaymentAuthorizationController,\n        didAuthorizePayment payment: PKPayment,\n        handler completion: @escaping (PKPaymentAuthorizationResult) -> Void\n    ) {\n        // Send payment.token.paymentData to your payment processor\n        Task {\n            do {\n                try await paymentService.process(payment.token)\n                completion(PKPaymentAuthorizationResult(status: .success, errors: nil))\n            } catch {\n                completion(PKPaymentAuthorizationResult(status: .failure, errors: [error]))\n            }\n        }\n    }\n\n    func paymentAuthorizationControllerDidFinish(\n        _ controller: PKPaymentAuthorizationController\n    ) {\n        controller.dismiss()\n    }\n}\n```\n\n### Handling Shipping Changes\n\n```swift\nfunc paymentAuthorizationController(\n    _ controller: PKPaymentAuthorizationController,\n    didSelectShippingMethod shippingMethod: PKShippingMethod,\n    handler completion: @escaping (PKPaymentRequestShippingMethodUpdate) -> Void\n) {\n    let updatedItems = recalculateItems(with: shippingMethod)\n    let update = PKPaymentRequestShippingMethodUpdate(paymentSummaryItems: updatedItems)\n    completion(update)\n}\n```\n\n## Wallet Passes\n\n### Adding a Pass to Wallet\n\nLoad a `.pkpass` file and present `PKAddPassesViewController`.\n\n```swift\nfunc addPassToWallet(data: Data) {\n    guard let pass = try? PKPass(data: data) else { return }\n\n    if let addController = PKAddPassesViewController(pass: pass) {\n        addController.delegate = self\n        present(addController, animated: true)\n    }\n}\n```\n\n### SwiftUI Wallet Button\n\n```swift\nimport PassKit\nimport SwiftUI\n\nstruct AddPassButton: View {\n    let passData: Data\n\n    var body: some View {\n        Button(\"Add to Wallet\") {\n            addPass()\n        }\n    }\n\n    func addPass() {\n        guard let pass = try? PKPass(data: passData) else { return }\n        let library = PKPassLibrary()\n        library.addPasses([pass]) { status in\n            switch status {\n            case .shouldReviewPasses:\n                // Present review UI\n                break\n            case .didAddPasses:\n                // Passes added successfully\n                break\n            case .didCancelAddPasses:\n                break\n            @unknown default:\n                break\n            }\n        }\n    }\n}\n```\n\n## Checking Pass Library\n\nUse `PKPassLibrary` to inspect and manage passes the user already has.\n\n```swift\nlet library = PKPassLibrary()\n\n// Check if a specific pass is already in Wallet\nlet hasPass = library.containsPass(pass)\n\n// Retrieve passes your app can access\nlet passes = library.passes()\n\n// Check if pass library is available\nguard PKPassLibrary.isPassLibraryAvailable() else { return }\n```\n\n## Common Mistakes\n\n### DON'T: Use StoreKit for physical goods\n\nApple Pay (PassKit) is for **physical goods and services**. StoreKit is for digital\ncontent, subscriptions, and in-app purchases. Using the wrong framework leads to\nApp Review rejection.\n\n```swift\n// WRONG: Using StoreKit to sell a physical product\nlet product = try await Product.products(for: [\"com.example.tshirt\"])\n\n// CORRECT: Use Apple Pay for physical goods\nlet request = PKPaymentRequest()\nrequest.paymentSummaryItems = [\n    PKPaymentSummaryItem(label: \"T-Shirt\", amount: 29.99),\n    PKPaymentSummaryItem(label: \"My Store\", amount: 29.99)\n]\n```\n\n### DON'T: Hardcode merchant ID in multiple places\n\n```swift\n// WRONG: Merchant ID scattered across the codebase\nlet request1 = PKPaymentRequest()\nrequest1.merchantIdentifier = \"merchant.com.example.app\"\n// ...elsewhere:\nlet request2 = PKPaymentRequest()\nrequest2.merchantIdentifier = \"merchant.com.example.app\" // easy to get out of sync\n\n// CORRECT: Centralize configuration\nenum PaymentConfig {\n    static let merchantIdentifier = \"merchant.com.example.app\"\n    static let countryCode = \"US\"\n    static let currencyCode = \"USD\"\n    static let supportedNetworks: [PKPaymentNetwork] = [.visa, .masterCard, .amex]\n}\n```\n\n### DON'T: Forget the total line item\n\nThe last item in `paymentSummaryItems` is the total row. If you omit it, the\npayment sheet shows no merchant name or total.\n\n```swift\n// WRONG: No total item\nrequest.paymentSummaryItems = [\n    PKPaymentSummaryItem(label: \"Widget\", amount: 9.99)\n]\n\n// CORRECT: Last item is the total with your merchant name\nrequest.paymentSummaryItems = [\n    PKPaymentSummaryItem(label: \"Widget\", amount: 9.99),\n    PKPaymentSummaryItem(label: \"My Store\", amount: 9.99) // Total\n]\n```\n\n### DON'T: Skip the canMakePayments check\n\n```swift\n// WRONG: Show Apple Pay button without checking\nPayWithApplePayButton(.buy) { startPayment() }\n\n// CORRECT: Only show when available\nif PKPaymentAuthorizationController.canMakePayments(\n    usingNetworks: PaymentConfig.supportedNetworks\n) {\n    PayWithApplePayButton(.buy) { startPayment() }\n} else {\n    // Show alternative checkout or setup button\n    Button(\"Set Up Apple Pay\") { /* guide user */ }\n}\n```\n\n### DON'T: Dismiss the controller before completing authorization\n\n```swift\n// WRONG: Dismissing inside didAuthorizePayment\nfunc paymentAuthorizationController(\n    _ controller: PKPaymentAuthorizationController,\n    didAuthorizePayment payment: PKPayment,\n    handler completion: @escaping (PKPaymentAuthorizationResult) -> Void\n) {\n    controller.dismiss() // Too early -- causes blank sheet\n    completion(.init(status: .success, errors: nil))\n}\n\n// CORRECT: Dismiss only in paymentAuthorizationControllerDidFinish\nfunc paymentAuthorizationControllerDidFinish(\n    _ controller: PKPaymentAuthorizationController\n) {\n    controller.dismiss()\n}\n```\n\n## Review Checklist\n\n- [ ] Apple Pay capability enabled and merchant ID configured in Developer portal\n- [ ] Payment Processing Certificate generated and installed\n- [ ] `canMakePayments(usingNetworks:)` checked before showing Apple Pay button\n- [ ] Last item in `paymentSummaryItems` is the total with merchant display name\n- [ ] Payment token sent to server for processing (never decoded client-side)\n- [ ] `paymentAuthorizationControllerDidFinish` dismisses the controller\n- [ ] Shipping method changes recalculate totals via delegate callback\n- [ ] StoreKit used for digital goods; Apple Pay used for physical goods\n- [ ] Wallet passes loaded from signed `.pkpass` bundles\n- [ ] `PKPassLibrary.isPassLibraryAvailable()` checked before pass operations\n- [ ] Apple Pay button uses system-provided `PKPaymentButton` or `PayWithApplePayButton`\n- [ ] Error states handled in authorization result (network failures, declined cards)\n\n## References\n\n- Extended patterns (recurring payments, coupon codes, multi-merchant): [references/wallet-passes.md](references/wallet-passes.md)\n- [PassKit framework](https://sosumi.ai/documentation/passkit)\n- [PKPaymentRequest](https://sosumi.ai/documentation/passkit/pkpaymentrequest)\n- [PKPaymentAuthorizationController](https://sosumi.ai/documentation/passkit/pkpaymentauthorizationcontroller)\n- [PKPaymentButton](https://sosumi.ai/documentation/passkit/pkpaymentbutton)\n- [PKPass](https://sosumi.ai/documentation/passkit/pkpass)\n- [PKAddPassesViewController](https://sosumi.ai/documentation/passkit/pkaddpassesviewcontroller)\n- [PKPassLibrary](https://sosumi.ai/documentation/passkit/pkpasslibrary)\n- [PKPaymentNetwork](https://sosumi.ai/documentation/passkit/pkpaymentnetwork)","tags":["passkit","swift","ios","skills","dpearson2699","accessibility","agent-skills","ai-coding","apple","claude-code","codex-skills","cursor-skills"],"capabilities":["skill","source-dpearson2699","skill-passkit","topic-accessibility","topic-agent-skills","topic-ai-coding","topic-apple","topic-claude-code","topic-codex-skills","topic-cursor-skills","topic-ios","topic-ios-development","topic-liquid-glass","topic-localization","topic-mapkit"],"categories":["swift-ios-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/dpearson2699/swift-ios-skills/passkit","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add dpearson2699/swift-ios-skills","source_repo":"https://github.com/dpearson2699/swift-ios-skills","install_from":"skills.sh"}},"qualityScore":"0.684","qualityRationale":"deterministic score 0.68 from registry signals: · indexed on github topic:agent-skills · 468 github stars · SKILL.md body (12,181 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T00:53:43.902Z","embedding":null,"createdAt":"2026-04-18T22:01:08.907Z","updatedAt":"2026-04-22T00:53:43.902Z","lastSeenAt":"2026-04-22T00:53:43.902Z","tsv":"'-2':429 '-7':418 '/documentation/passkit)':1143 '/documentation/passkit/pkaddpassesviewcontroller)':1163 '/documentation/passkit/pkpass)':1159 '/documentation/passkit/pkpasslibrary)':1167 '/documentation/passkit/pkpaymentauthorizationcontroller)':1151 '/documentation/passkit/pkpaymentbutton)':1155 '/documentation/passkit/pkpaymentnetwork)':1171 '/documentation/passkit/pkpaymentrequest)':1147 '0':411,415 '1':139,422,426,428 '12':282 '14.98':359 '2':147 '26':72 '29.99':805,811 '3':159 '4':171 '4.99':353,404 '48':263 '5':417 '6.3':70 '9.99':348,409,908,924,930 'accept':40 'access':720 'across':825 'action':285 'ad':13,23,585,675 'add':50,172,642 'addcontrol':613,620 'addcontroller.delegate':617 'addmoney':300 'addpass':645,647 'addpassbutton':632 'addpasstowallet':599 'alreadi':696,708 'altern':963 'alway':181 'american':445 'amex':225,339,447,868 'amount':347,352,358,403,408,804,810,907,923,929 'anim':621 'app':718,761,769 'appear':378 'appl':3,14,41,78,84,142,154,190,202,231,743,790,941,971,1024,1046,1089,1107 'author':22,62,107,111,501,982,1121 'avail':179,462,729,953 'await':534,784 'base':271 'black':260,280 'blank':1004 'bodi':253,638 'book':297 'bool':198 'break':671,677,680,683 'build':311 'built':238 'built-in':237 'bundl':1101 'busi':419,430 'button':16,59,80,86,233,275,290,625,641,943,967,968,1048,1109 'button.addtarget':283 'button.cornerradius':281 'buy':257,278,292,947,959 'callback':1083 'canmakepay':197,936,1041 'capabl':29,144,227,1026 'card':214,1126 'case':666,672,678 'catch':543 'caus':1003 'central':846 'certif':166,1037 'chang':557,1078 'check':117,121,180,199,211,684,702,724,937,945,1043,1103 'checking-pass-librari':120 'checklist':130,133,1023 'checkout':296,964 'checkoutcoordin':511 'checkoutview':250 'china':450 'chinaunionpay':452 'client':1070 'client-sid':1069 'code':1133 'codebas':827 'com.example.tshirt':787 'common':124,127,734 'common-mistak':126 'complet':521,537,544,567,581,981,996,1006 'configur':27,67,138,847,1031 'constant':440 'contact':33,390 'content':73,756 'contribut':305 'control':482,492,515,552,561,979,990,1019,1075 'controller.delegate':496 'controller.dismiss':554,1000,1021 'controller.present':498 'correct':788,845,909,949,1012 'countrycod':856 'coupon':1132 'cover':57 'creat':17,87,92,148,307 'createpaymentrequest':325,490 'creating-a-payment-request':91 'currencycod':860 'data':600,601,607,608,636,653 'day':420,431 'declin':1125 'decod':1068 'default':682 'deleg':1082 'deliveri':434 'detail':317,416,427 'develop':155,1033 'devic':184,200 'didaddpass':673 'didauthorizepay':517,987,992 'didcanceladdpass':679 'didselectshippingmethod':563 'digit':755,1087 'discov':226,340,448,449 'dismiss':977,985,1013,1073 'display':76,82,229,1058 'displaying-the-apple-pay-button':81 'donat':295 'earli':1002 'easi':839 'electron':457,458 'els':208,609,655,732,961 'elsewher':833 'emailaddress':395 'enabl':140,1027 'entitl':178 'enum':848 'error':541,548,549,1010,1117 'escap':522,568,997 'express':407,424,446 'extend':1128 'extens':510 'failur':547,1124 'fals':210 'field':34 'file':593 'forget':871 'format':157 'frame':261 'framework':766,1140 'func':196,324,486,513,550,559,598,646,988,1017 'generat':160,1038 'get':841 'good':46,742,749,794,1088,1094 'guard':206,602,648,730 'guid':973 'handl':20,105,109,499,555,1119 'handler':520,566,995 'handling-payment-author':108 'hardcod':814 'haspass':712 'height':262 'id':151,170,175,816,823,1030 'identifi':412,423 'implement':502 'import':194,245,247,627,629 'in-app':759 'info':391 'init':1007 'insid':986 'inspect':690 'instal':162,1040 'instor':294 'integr':2 'interac':459,460 'interfac':272 'io':71 'item':320,362,367,875,878,902,911,1050 'jcb':453,454 'label':345,350,355,377,401,406,800,807,905,921,926 'last':361,366,877,910,1049 'lead':767 'let':274,327,488,491,571,576,603,612,634,649,657,699,711,721,781,795,828,834,851,855,859,863 'librari':119,123,658,686,700,727 'library.addpasses':660 'library.containspass':713 'library.passes':723 'line':874 'load':590,1097 'maestro':455,456 'mainactor':485 'make':186 'manag':30,692 'mastercard':224,338,443,444,867 'merchant':28,66,150,169,174,316,381,815,822,894,917,1029,1057,1136 'merchant.com.example.app':158,331,832,838,853 'merchantidentifi':852 'method':1077 'mistak':125,128,735 'multi':1135 'multi-merch':1134 'multipl':818 'name':382,396,895,918,1059 'need':483 'network':217,438,439,463,1123 'never':1067 'nil':542,1011 'omit':887 'oper':1106 'order':302 'pad':264 'pass':8,24,51,64,113,116,118,122,584,587,604,615,616,650,661,674,685,693,706,714,716,722,726,1096,1105 'passdata':635,654 'passkit':1,10,39,195,248,628,745,1139 'pattern':1129 'pay':4,15,42,79,85,143,191,203,232,744,791,942,972,1025,1047,1090,1108 'payment':5,18,21,43,58,60,89,94,98,103,106,110,164,187,309,385,470,500,507,518,529,890,993,1035,1060,1131 'payment.token':536 'payment.token.paymentdata':526 'paymentauthorizationcontrol':514,560,989 'paymentauthorizationcontrollerdidfinish':551,1016,1018,1072 'paymentbuttonstyl':279 'paymentbuttontyp':277 'paymentconfig':849 'paymentconfig.supportednetworks':957 'paymentrequest':494 'paymentservice.process':535 'paymentsummaryitem':369,579,880,1052 'paywithapplepaybutton':240,256,946,958,1116 'paywithapplepaybuttonstyl':259 'physic':45,741,748,779,793,1093 'pkaddpassesviewcontrol':596,614,1160 'pkpass':592,606,652,1100,1156 'pkpasslibrari':659,688,701,1164 'pkpasslibrary.ispasslibraryavailable':731,1102 'pkpayment':519,994 'pkpaymentauthorizationcontrol':473,493,516,553,562,991,1020,1148 'pkpaymentauthorizationcontroller.canmakepayments':207,221,955 'pkpaymentauthorizationcontrollerdeleg':503,512 'pkpaymentauthorizationresult':523,538,545,998 'pkpaymentbutton':267,276,1114,1152 'pkpaymentnetwork':865,1168 'pkpaymentr':38 'pkpaymentrequest':313,326,329,797,830,836,1144 'pkpaymentrequest.availablenetworks':467 'pkpaymentrequestshippingmethodupd':569,578 'pkpaymentsummaryitem':344,349,354,799,806,904,920,925 'pkshippingmethod':400,405,565 'place':819 'portal':156,1034 'postaladdress':394,398 'present':96,101,468,595,619,668 'presenting-the-payment-sheet':100 'process':165,505,1036,1066 'processor':530 'product':780,782 'product.products':785 'project':137 'provid':1113 'purchas':322,762 'queri':461 'recalcul':1079 'recalculateitem':573 'recur':1130 'refer':134,135,1127 'references/wallet-passes.md':1137,1138 'reject':771 'reload':299 'rent':303 'request':19,61,90,95,310,328,364,387,489,495,796 'request.countrycode':332 'request.currencycode':334 'request.merchantcapabilities':341 'request.merchantidentifier':330 'request.paymentsummaryitems':343,798,903,919 'request.requiredbillingcontactfields':397 'request.requiredshippingcontactfields':393 'request.shippingmethods':399,410,414,421,425 'request.shippingtype':432 'request.supportednetworks':336 'request1':829 'request1.merchantidentifier':831 'request2':835 'request2.merchantidentifier':837 'result':1122 'retriev':715 'return':209,220,363,610,656,733 'review':129,132,669,770,1022 'review-checklist':131 'row':884 'runtim':465 'scatter':824 'selector':286 'self':284,497,618 'sell':777 'send':525 'sent':1062 'server':1064 'servic':48,751 'servicepickup':436 'set':969 'setup':74,75,136,293,966 'sheet':99,104,386,471,891,1005 'ship':31,351,388,433,556,1076 'shippingmethod':564,575 'shirt':803 'shouldreviewpass':667 'show':189,892,940,951,962,1045 'side':1071 'sign':1099 'skill' 'skill-passkit' 'skip':934 'sosumi.ai':1142,1146,1150,1154,1158,1162,1166,1170 'sosumi.ai/documentation/passkit)':1141 'sosumi.ai/documentation/passkit/pkaddpassesviewcontroller)':1161 'sosumi.ai/documentation/passkit/pkpass)':1157 'sosumi.ai/documentation/passkit/pkpasslibrary)':1165 'sosumi.ai/documentation/passkit/pkpaymentauthorizationcontroller)':1149 'sosumi.ai/documentation/passkit/pkpaymentbutton)':1153 'sosumi.ai/documentation/passkit/pkpaymentnetwork)':1169 'sosumi.ai/documentation/passkit/pkpaymentrequest)':1145 'source-dpearson2699' 'specif':705 'standard':402,413 'startpay':258,287,487,948,960 'state':1118 'static':850,854,858,862 'status':539,546,662,665,1008 'store':357,809,928 'storekit':739,752,775,1084 'storepickup':435 'struct':249,631 'subscrib':298 'subscript':757 'success':540,676,1009 'support':201,219,304,437 'supportednetwork':864 'swift':69,193,244,273,323,392,484,509,558,597,626,698,772,820,898,938,983 'swiftui':234,243,246,477,623,630 'switch':664 'sync':844 'system':1112 'system-provid':1111 't-shirt':801 'target':68 'task':531 'threedsecur':228,342 'tip':306 'token':508,1061 'topic-accessibility' 'topic-agent-skills' 'topic-ai-coding' 'topic-apple' 'topic-claude-code' 'topic-codex-skills' 'topic-cursor-skills' 'topic-ios' 'topic-ios-development' 'topic-liquid-glass' 'topic-localization' 'topic-mapkit' 'topup':301 'total':360,374,873,883,897,901,914,931,1055,1080 'touchupinsid':289 'treat':371 'tri':533,605,651,783 'true':622 'type':291 'ui':192,670 'uikit':265,270,479 'uikit-bas':269 'unionpay':451 'unknown':681 'updat':577,582 'updateditem':572,580 'us':333,857 'usd':335,861 'use':9,11,235,266,472,687,738,763,774,789,1085,1091,1110 'user':54,212,695,974 'usingnetwork':222,956,1042 'var':252,637 'verifi':182 'via':1081 'view':241,251,255,481,633,640 'visa':223,337,441,442,866 'void':524,570,999 'wallet':7,26,56,63,112,115,583,589,624,644,710,1095 'wallet-pass':114 'widget':346,906,922 'without':944 'work':36,474 'wrong':765,773,821,899,939,984 'xcode':146","prices":[{"id":"95395806-ce94-4a3d-a401-2273b61de342","listingId":"7c5e0b3a-49d4-443a-b92f-0c2135eae4e5","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"dpearson2699","category":"swift-ios-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T22:01:08.907Z"}],"sources":[{"listingId":"7c5e0b3a-49d4-443a-b92f-0c2135eae4e5","source":"github","sourceId":"dpearson2699/swift-ios-skills/passkit","sourceUrl":"https://github.com/dpearson2699/swift-ios-skills/tree/main/skills/passkit","isPrimary":false,"firstSeenAt":"2026-04-18T22:01:08.907Z","lastSeenAt":"2026-04-22T00:53:43.902Z"}],"details":{"listingId":"7c5e0b3a-49d4-443a-b92f-0c2135eae4e5","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"dpearson2699","slug":"passkit","github":{"repo":"dpearson2699/swift-ios-skills","stars":468,"topics":["accessibility","agent-skills","ai-coding","apple","claude-code","codex-skills","cursor-skills","ios","ios-development","liquid-glass","localization","mapkit","networking","storekit","swift","swift-concurrency","swiftdata","swiftui","widgetkit","xcode"],"license":"other","html_url":"https://github.com/dpearson2699/swift-ios-skills","pushed_at":"2026-04-21T19:26:16Z","description":"Agent Skills for iOS 26+, Swift 6.3, SwiftUI, and modern Apple frameworks","skill_md_sha":"b7637a1a7ef31ed2eddc6bda1246777fd1de8bef","skill_md_path":"skills/passkit/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/dpearson2699/swift-ios-skills/tree/main/skills/passkit"},"layout":"multi","source":"github","category":"swift-ios-skills","frontmatter":{"name":"passkit","description":"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 and contact fields, or working with PKPaymentRequest, PKPaymentAuthorizationController, PKPaymentButton, PKPass, PKAddPassesViewController, PKPassLibrary, or Apple Pay checkout flows."},"skills_sh_url":"https://skills.sh/dpearson2699/swift-ios-skills/passkit"},"updatedAt":"2026-04-22T00:53:43.902Z"}}