Axiom Payments 标志

Axiom Payments

社区热门
CharlesWiltgen
axiom-payments

在接受任何现实世界支付时使用——包括 Apple Pay、Wallet 卡券、Tap to Pay 和 Wallet 订单。不适用于应用内购买或数字内容(请使用 axiom-integration)。涵盖权限、证书、签名和 App Review 支付规则。

Add to TypingMind

概览

发布者CharlesWiltgen
代码仓库Axiom
技能名称axiom-payments
星标数
1.2K
复刻数
86
附带文件
13
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 13 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 CharlesWiltgen 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Axiom Payments AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-payments
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git /tmp/Axiom
mkdir -p .claude/skills
cp -r /tmp/Axiom/axiom-codex/skills/axiom-payments .claude/skills/axiom-payments
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Axiom Payments,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Axiom Payments。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Axiom Payments 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Real-World Payments (Apple Pay / Wallet / Tap to Pay)

You MUST use this skill when accepting ANY real-world payment — physical goods, services, donations, ticketing, loyalty cards, contactless card-present, or post-purchase order tracking. NOT for in-app purchase or digital content.

When to Use

Use this skill when you encounter:

  • Adding Apple Pay to an iOS / iPadOS / macOS / Catalyst / visionOS / watchOS app
  • Adding Apple Pay to a website (Apple Pay JS or W3C Payment Request API)
  • Building Wallet passes (boarding passes, event tickets, coupons, loyalty cards, store cards)
  • Accepting contactless card payments on iPhone (Tap to Pay on iPhone / ProximityReader)
  • Surfacing post-purchase order tracking in Wallet (Orders in Wallet, FinanceKitUI add-order helpers)
  • Issuer or bank card provisioning into Wallet (issuer extensions)
  • Apple Pay merchant ID, processing certificate, or merchant identity certificate setup
  • Pass Type ID or Order Type ID certificates and PKCS #7 signing chains
  • Tap to Pay managed entitlement (com.apple.developer.proximity-reader.payment.acceptance)
  • App Review rejections that mention payments, IAP, Apple Pay, Wallet, or Acceptable Use Guidelines
  • Domain verification for Apple Pay on the web (.well-known/apple-developer-merchantid-domain-association.txt)
  • Sandbox testing with Apple Pay sandbox cards or sandbox tester accounts

When NOT to Use

IssueCorrect SkillWhy NOT axiom-payments
In-app purchase, subscriptions for digital contentaxiom-integrationStoreKit 2 / digital goods boundary; see axiom-integration (skills/in-app-purchases.md)
Generic NFC tag reads (Core NFC, non-Wallet)axiom-integrationDifferent framework; PassKit NFC is Wallet-specific
Code signing / provisioning fundamentalsaxiom-securityCode signing is generic; payment certs are added to that flow
App Store rejection workflow & appealsaxiom-shippingRejection workflow lives there; payment-specific rejection patterns route from there into here
HIG cross-cutting design guidanceaxiom-designApple Pay / Wallet HIG specifics live here, but design overview lives in axiom-design
Consumer banking surface (FinanceKit)Out of scopeThis suite uses FinanceKitUI only for Orders. Account aggregation / transaction queries are not covered.
PKSecureElementPass, transit cards, car keysOut of scopeIssuer-controlled, not relevant to merchant developers

Quick Reference

Symptom / TaskReference
Should this be Apple Pay or IAP?See skills/apple-pay-vs-iap.md
Selling physical goods, services, or donationsSee skills/apple-pay-vs-iap.md
App was rejected for using IAP for physical goodsSee skills/apple-pay-vs-iap.md
Native Apple Pay (iOS / iPadOS / macOS / Catalyst / visionOS / watchOS)See skills/apple-pay.md
PassKit / PKPaymentRequest API surfaceSee skills/apple-pay-ref.md
Apple Pay on the web (Apple Pay JS or Payment Request API)See skills/apple-pay-web.md
Web ApplePaySession / Payment Request API surfaceSee skills/apple-pay-web-ref.md
Domain verification, merchant identity cert, third-party browser supportSee skills/apple-pay-web.md
Tap to Pay on iPhone (ProximityReader)See skills/tap-to-pay.md
ProximityReader / PaymentCardReader API surfaceSee skills/tap-to-pay-ref.md
Tap to Pay entitlement stuck in "Submitted"See skills/tap-to-pay.md
Wallet passes (boarding, event ticket, coupon, loyalty, store card)See skills/wallet-passes.md
pass.json schema, semantic tags, barcodes, NFC payloadsSee skills/wallet-passes-ref.md
Poster generic style, featured actions, new barcode types OS27See skills/wallet-passes-ref.md
Pass Designer app, Pass Builder server packageSee skills/wallet-passes-ref.md
Customer engagement on a paired device (CustomerEngagementSession) OS27See skills/tap-to-pay-ref.md
Pass signing, manifest hashing, PKCS #7See skills/wallet-passes.md
Pass updates not arriving (web service / APNs)See skills/wallet-passes.md
Orders in Wallet, signed order packages, fulfillment statusSee skills/wallet-orders.md
Issuer / bank card provisioning extensionsSee skills/wallet-extensions-ref.md
"No payment sheet appears" / merchant validation 503 / pass won't importSee skills/payments-diag.md
Sandbox testing failures, prod-vs-sandbox cert mismatchSee skills/payments-diag.md
Apple Pay button vs Apple Pay Mark confusionSee skills/apple-pay.md
App Review rejection for Apple Pay / Wallet / Tap to PaySee skills/payments-diag.md

Decision Tree

dot
digraph payments {
    "Payments question?" [shape=diamond];
    "Apple Pay or IAP?" [shape=diamond];
    "Where is the surface?" [shape=diamond];
    "What kind of pass?" [shape=diamond];
    "Something not working?" [shape=diamond];

    "skills/apple-pay-vs-iap.md" [shape=box];
    "skills/apple-pay.md" [shape=box];
    "skills/apple-pay-web.md" [shape=box];
    "skills/tap-to-pay.md" [shape=box];
    "skills/wallet-passes.md" [shape=box];
    "skills/wallet-orders.md" [shape=box];
    "skills/wallet-extensions-ref.md" [shape=box];
    "skills/payments-diag.md" [shape=box];
    "axiom-integration\n/in-app-purchases.md" [shape=box];

    "Payments question?" -> "Apple Pay or IAP?";
    "Apple Pay or IAP?" -> "skills/apple-pay-vs-iap.md" [label="boundary unclear"];
    "Apple Pay or IAP?" -> "axiom-integration\n/in-app-purchases.md" [label="digital content /\nsubscription for digital"];
    "Apple Pay or IAP?" -> "Where is the surface?" [label="real-world payment"];

    "Where is the surface?" -> "skills/apple-pay.md" [label="native app"];
    "Where is the surface?" -> "skills/apple-pay-web.md" [label="website"];
    "Where is the surface?" -> "skills/tap-to-pay.md" [label="contactless on iPhone"];
    "Where is the surface?" -> "What kind of pass?" [label="pass / order"];
    "Where is the surface?" -> "skills/wallet-extensions-ref.md" [label="card provisioning\n(issuer / bank)"];

    "What kind of pass?" -> "skills/wallet-passes.md" [label="boarding / ticket /\ncoupon / loyalty"];
    "What kind of pass?" -> "skills/wallet-orders.md" [label="post-purchase\norder tracking"];

    "Payments question?" -> "Something not working?";
    "Something not working?" -> "skills/payments-diag.md" [label="yes"];
}

Simplified routing:

  1. Is this a digital good or subscription for digital content? → Use axiom-integration/skills/in-app-purchases.md instead.
  2. Selling physical goods / services / donations, or unsure? → skills/apple-pay-vs-iap.md
  3. Native Apple Pay (iOS / iPadOS / macOS / Catalyst / visionOS / watchOS)? → skills/apple-pay.md + skills/apple-pay-ref.md
  4. Apple Pay on the web? → skills/apple-pay-web.md + skills/apple-pay-web-ref.md
  5. Tap to Pay on iPhone (ProximityReader)? → skills/tap-to-pay.md + skills/tap-to-pay-ref.md
  6. Wallet passes (ticket / coupon / loyalty / store card)? → skills/wallet-passes.md + skills/wallet-passes-ref.md
  7. Orders in Wallet (post-purchase tracking)? → skills/wallet-orders.md
  8. Issuer / bank card provisioning? → skills/wallet-extensions-ref.md
  9. Something not working (no sheet / merchant validation fails / pass won't import / Tap to Pay never enables)? → skills/payments-diag.md

Cross-Suite Routing

Apple Pay vs IAP boundary (the most common cross-suite question):

  • Selling physical goods, services, or donations → stay here (skills/apple-pay-vs-iap.md)
  • Selling digital content, premium app features, subscriptions for digital content → use axiom-integration (skills/in-app-purchases.md)
  • App was rejected for using the wrong one → skills/apple-pay-vs-iap.md then skills/payments-diag.md

Payments + App Review rejection:

  • Rejection cites Section 3.1 / 3.2 / Apple Pay AUG → stay here (skills/payments-diag.md) for the root cause; also invoke axiom-shipping (skills/app-store-diag.md) for appeal workflow

Payments + cert management:

  • Merchant Identity Certificate, Pass Type ID Certificate, Order Type ID Certificate, Payment Processing Certificate — operational discipline → stay here
  • Generic Keychain export / .p12 mechanics → also invoke axiom-security (skills/keychain-ref.md)
  • Tap to Pay managed entitlement → stay here (skills/tap-to-pay.md); generic managed-capability mental model → axiom-security (skills/code-signing.md)

Payments + Xcode capability / provisioning:

  • Apple Pay capability checkbox in Xcode, merchant ID selection, Tap to Pay entitlement plumbing in the provisioning profile → also invoke axiom-build for capability/profile mechanics; payment-specific guidance stays here

Payments + HIG:

  • Apple Pay button vs Apple Pay Mark, Wallet pass design specs, Tap to Pay button label → stay here
  • Cross-cutting design context → also invoke axiom-design (skills/hig.md)

Payments + Catalyst / macOS:

  • Apple Pay on Mac and Catalyst (window requirement, web security model, static merchant validation URL) → stay here (skills/apple-pay.md Catalyst section)
  • Generic Catalyst patterns → axiom-macos

Payments + Apple Watch:

  • WKInterfacePaymentButton, watchOS payment delegate flow → stay here (skills/apple-pay-ref.md watchOS section)
  • Generic watchOS patterns → axiom-watchos

Anti-Rationalization

ThoughtReality
"We sell physical stuff but we'll use IAP — easier integration"Guaranteed App Review rejection (Section 3.1.1 / 3.1.3(e)). Use Apple Pay for physical goods, services, donations.
"Our app is digital content, we'll use Apple Pay because IAP fees are higher"Guaranteed App Review rejection. Digital content + subscriptions for digital content must use IAP.
"I'll just embed our PSP's raw card form on the web — it's faster"Acceptable Use Guidelines violate parity rule. If you accept any other payment method on the web, you must offer Apple Pay at least as prominently.
"Tap to Pay just needs a capability checkbox like other features"Tap to Pay uses a managed entitlement requested via a separate form. The Xcode capability flow doesn't apply. Two-step request (dev → distribution); rejection or "Submitted" stalls add 1–4 weeks per loop.
"We'll roll our own pass signing — it's just zip + sign"PKCS #7 detached signature, manifest hashing, WWDR Intermediate cert, S/MIME signing-time, PEM/DER format gotchas — most signing failures originate from rolled-from-scratch implementations. Use a server library.
"The Apple Pay Mark is just a button graphic"The Mark is "Apple Pay accepted" signage — never tappable. The Button is API-provided and initiates payment. Using the Mark as a button is an HIG violation and a known conversion killer.
"Production cards will work the same as sandbox cards"Sandbox transactions decline pre-fulfillment by design. Production transactions need production keys + activated certs. Test on real devices with real cards before launch.
"Apple Pay merchant ID expires every year"Merchant IDs never expire. Payment Processing Certificates expire after 25 months. These are different things.
"I can call merchant validation from the browser"The browser must never call paymentSession. Server-only call using two-way TLS with the merchant identity cert. Calling from the browser leaks the cert.
"FinanceKit will let our app see the user's bank transactions"Out of scope for this suite. FinanceKit consumer banking surface is not covered. We use FinanceKitUI only for the order-add helpers.

Out of Scope

This suite intentionally does not cover:

  • In-App Purchase (StoreKit 2) — Use axiom-integration/skills/in-app-purchases.md and axiom-integration/skills/storekit-ref.md. The boundary rule lives in skills/apple-pay-vs-iap.md.
  • FinanceKit consumer banking (account aggregation, transaction queries) — not covered. We only use FinanceKitUI for order-add buttons.
  • PKSecureElementPass, transit cards, car keys — issuer-controlled Wallet surfaces, not merchant-developer territory.
  • Tap to Present ID (MobileDocumentReader) — uses ProximityReader but for identity verification, not payment. Brief cross-ref appears in skills/tap-to-pay-ref.md; identity-verification UX as a whole is axiom-integration territory if it lands anywhere.
  • Generic NFC reads (Core NFC) — different framework. PassKit NFC is Wallet-specific (loyalty / contactless ticket / boarding).

Example Invocations

User: "Should I use Apple Pay or IAP for my hotel-booking app?" → See skills/apple-pay-vs-iap.md

User: "How do I set up Apple Pay in my iOS app?" → See skills/apple-pay.md

User: "What's the structure of PKPaymentRequest?" → See skills/apple-pay-ref.md

User: "Apple Pay on my website doesn't show the button in Chrome" → See skills/apple-pay-web.md

User: "Domain verification keeps failing" → See skills/payments-diag.md

User: "I want to add Tap to Pay on iPhone to my point-of-sale app" → See skills/tap-to-pay.md

User: "My Tap to Pay entitlement has been Submitted for two weeks" → See skills/tap-to-pay.md and skills/payments-diag.md

User: "How do I build a Wallet pass for my event tickets?" → See skills/wallet-passes.md

User: "My .pkpass file won't import — Wallet says invalid" → See skills/payments-diag.md

User: "I want order tracking to appear in Wallet after Apple Pay checkout" → See skills/wallet-orders.md

User: "App Review rejected my app for using IAP for restaurant delivery" → See skills/apple-pay-vs-iap.md then skills/payments-diag.md

User: "How does Apple Pay differ from In-App Purchase?" → See skills/apple-pay-vs-iap.md

User: "Implementing card provisioning for our bank's iOS app" → See skills/wallet-extensions-ref.md

Resources

WWDC: 2020-10662, 2021-10092, 2022-10041, 2023-10114, 2024-10108

Tech Talks: 111381 (Apple Pay on the Web), 110336 (Implementing Apple Pay Orders)

MIG: Apple Pay Merchant Integration Guide (2026 edition) — operational spine, cited throughout this suite

Docs: /passkit, /applepayontheweb, /proximityreader, /walletpasses, /design/human-interface-guidelines/apple-pay, /design/human-interface-guidelines/wallet, /apple-pay/acceptable-use-guidelines-for-websites

App Review: Section 3.1 (In-App Purchase), Section 3.1.3(e) (Goods and Services Outside of the App), Section 3.2 (Other Business Model Issues), Section 4.9 (Apple Pay)

Skills: axiom-integration (in-app-purchases, storekit-ref), axiom-shipping (app-store-diag, app-review-guidelines), axiom-security (keychain-ref, code-signing), axiom-design (hig, hig-ref), axiom-macos

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Axiom Payments AI 技能有什么作用?

在接受任何现实世界支付时使用——包括 Apple Pay、Wallet 卡券、Tap to Pay 和 Wallet 订单。不适用于应用内购买或数字内容(请使用 axiom-integration)。涵盖权限、证书、签名和 App Review 支付规则。

为什么在 TypingMind 中使用 Axiom Payments?

因为您只需安装一次,就能搭配任何模型使用。Axiom Payments 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Axiom Payments?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-payments。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Axiom Payments?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Axiom Payments 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Axiom Payments 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Axiom Payments AI 技能免费吗?

是的。CharlesWiltgen 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇