• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLOfficialdevelopment

airwallex-ai-provider-card-mit

プラグイン
airwallex-dev
引数
[scenario: plan | recharge | auto-recharge | subscription | saved-card | renewal | full]
ソース
GitHub で見る ↗
説明

Airwallex Payments(カード決済サービス)のカード専用フローを使用するAIプロバイダー向けに、実装計画書の全体構成をサポートするスキルです。自分たちで購読管理、トークン残高、手動チャージ、自動再チャージ(販売店主導の取引)を管理するプロバイダーが対象です。 **カバーする内容:** - Web JS SDK Split Card Elements(複数のカード入力フィールド) - カード登録 - 請求情報の収集 - 不正検知チェック - 購読向け定期決済許可(スケジュール型) - 再チャージ向け定期決済許可(非スケジュール型) - ウェブフック(イベント通知) - 販売店側で管理する取引台帳、請求書、領収書、再試行、通知、キャンセル処理 **次のような場合に使用:** カード決済を用いた購読型AIサービスの実装計画を立案する際 **非対応:** カード以外の決済方法、顧客主導のワンクリック決済、ホストされたチェックアウト、ドロップイン、HPP、またはプロバイダー管理の購読商品

原文を表示

Use this skill to guide an end-to-end implementation plan document for card-only Airwallex Payments flows used by AI providers that self-manage subscriptions, token balances, manual top-ups, and auto-recharge with merchant-initiated transactions. Covers Web JS SDK Split Card Elements, card binding, billing information collection, fraud-data checks, scheduled MIT consent for subscriptions, unscheduled MIT consent for recharge, webhooks, and merchant-owned ledger, invoice, receipt, retry, notification, and cancellation logic. Do not use for non-card methods, customer-initiated one-click checkout, hosted checkout, Drop-in, HPP, or provider-managed subscription products.

ユースケース
  • カード決済を用いた購読型AIサービスの実装計画を立案する
  • 複数のカード入力フィールド対応を設計する
  • カード登録と請求情報の収集フローを構築する
  • 定期決済と再チャージの仕組みを実装する
  • ウェブフックとイベント通知を統合する
本文(日本語訳)

Airwallex Card MIT For AI Providers

情報源の方針

Airwallex API のフィールド名と SDK の形状については、このスキルに組み込まれた例やキャッシュされた例よりも、Airwallex ドキュメント MCP(情報取得ツール)を優先してください。API フィールド、SDK コード、統合の説明を作成する前に、MCP で関連する Airwallex の動作を確認してください。

ソリューションはカード決済のみ、Web JavaScript SDK のみ、マーチャント(販売者)側の管理に限定してください。ホステッド決済ページ、ドロップイン決済、HPP(ホスト型決済ページ)、カード以外の決済方法、またはプロバイダ側で管理するサブスクリプション機能には対応しないでください。

前提条件

ドキュメント参照に必要な Airwallex ドキュメント MCP コネクタだけをインストールしてください。公式セットアップガイドをご覧ください:

https://www.airwallex.com/docs/developer-tools/ai/developer-connector.md

このスキルにコード例を組み込まない

SDK コードスニペット、API リクエスト例、HTML 例、JSON データ、curl コマンドをこのスキルに保存しないでください。このスキルは、操作デザイン、判断、フィールドの用途、状態の管理、実装チェックリストのためだけに使用してください。

まず計画を立てる

実装に入る前に、必ず計画を確認して決定してください。最初に、マーチャント(販売者)のビジネス内容、購入者の操作フロー、各フローでの同意の種類、請求情報の収集方法、不正防止データの責任分担、バックエンド(後処理システム)とウェブフック(自動通知機能)の役割、未決定の項目を特定してください。

ユーザーが明確に計画をスキップするよう求めない限り、計画が承認されるまでコード生成に進まないでください。ユーザーが既存の計画なしでコードを求めた場合は、まずコンパクトな計画を提供し、そのコードが依存する仮定を明記してください。

計画成果物

このスキルの主要な成果物は、実装計画書です。まず対話の中で計画を話し合い、決定してください。その後、このスキルと Airwallex ドキュメント MCP を使用して計画書を作成します。

ユーザーが別の場所を指定しない限り、計画ファイルのデフォルト名は airwallex-ai-provider-card-mit-plan.md で、現在のプロジェクトに保存してください。指定されたパスにファイルが既に存在する場合は、上書きする前に確認してください。

完成した計画書は、実装開始前にユーザーが確認できるレベルの品質にしてください。MCP で確認済みの JavaScript フロントエンド例(分割カード入力要素)と、関連する決済意図(PaymentIntent)・決済同意(PaymentConsent)フロー用の MCP で確認済み API コール例を含める必要があります。

コア概念

このスキルは、AI 製品向けのマーチャント側での決済方法保存(MIT)フローを設計します:

  • トークンウォレット(事前払いアカウント)へのチャージ、手動チャージ、残高不足時の自動チャージ、使用量に応じた課金には、「定期ではない」MIT 同意を使用します。
  • 決まった金額を決まったサイクルで課金するサブスクリプションには、別の「定期」MIT 同意を使用します。
  • その後のすべての課金は、マーチャントのバックエンドで作成され、正しい payment_consent_id(同意 ID)に紐付ける必要があります。
  • 購入者は、カード入力時または新しい契約を承認するときだけ関わります。その後のチャージと更新料金はマーチャント側で開始します。

引数

$ARGUMENTS は計画対象のフロー(デフォルト plan ;対話的に範囲を決める)を選択します:plan、recharge、auto-recharge、subscription、saved-card、renewal、full。これらは下記の「対応業務」のフローに対応します。

対応業務

このスキルは、次の AI プロバイダのビジネスフロー向けの、マーチャント管理型カード MIT 計画全体をガイドします:

  • チャージ承認用のカード登録
  • 手動チャージ
  • 自動チャージの設定と実行時課金
  • 新しいカードでのサブスクリプション登録
  • 保存済みカードでのサブスクリプション登録
  • サブスクリプション更新料金

計画では、該当する各フローについて、購入者の操作、同意の種類、請求情報の取り扱い、不正防止データの取り扱い、バックエンドワークフロー、ウェブフック確認、台帳への影響、失敗時の復旧を定義する必要があります。

参照資料の読み込み

タスクに必要な参照資料だけを読み込んでください:

  • ユーザージャーニー、製品フロー、エンドツーエンドの実装計画時は、references/interaction-flows.md を最初に読んでください。API マッピングの前に、その中のステップバイステップ図を使用してください。
  • オブジェクトのマッピング、同意の選択、ローカルデータモデル、課金経路については references/airwallex-objects-and-consents.md を読んでください。
  • Web JavaScript SDK 分割カード入力要素の UX、検証、3DS(本人確認)、成功・失敗処理については references/frontend-split-card-elements.md を読んでください。
  • バックエンドエンドポイント、ウェブフック処理、べき等性(同じ処理の重複実行防止)、台帳更新、請求書、領収書、リトライについては references/server-and-webhooks.md を読んでください。
  • 決済意図(PaymentIntent)の作成・確認を設計・実装するときは、常に references/fraud-data-standards.md を読んでください。コード実装者は API コールを書く前に、Airwallex ドキュメント MCP で現在の不正防止データ標準を確認する必要があります。
  • 同意メッセージ、設定画面、キャンセル UX、実装チェックリストについては references/ux-copy-and-checklists.md を読んでください。

出力の標準

計画の回答には、以下を含めてください:

  1. 購入者の視点からのステップバイステップ操作フロー図
  2. 対応業務の範囲
  3. 各フロー別の同意方針
  4. Airwallex オブジェクトのマッピング
  5. カード入力が関わる場合は Web 分割カード入力要素のフロー
  6. バックエンドとウェブフックの役割分担
  7. 収集・送信する不正防止データフィールド(MCP 確認済みと記載)
  8. マーチャント側の台帳と照合に関する注記
  9. MCP で確認済みの JavaScript フロントエンド例と API コール例(計画書に含める)
  10. 提案する airwallex-ai-provider-card-mit-plan.md のファイル名とパス(ユーザー確認用)
  11. 未決定の仮定や質問

計画では、次のビジネスフローセットから該当するものを明確にカバーしてください:チャージ承認用のカード登録、手動チャージ、自動チャージ設定、新規カードでのサブスクリプション登録、保存済みカードでのサブスクリプション登録、サブスクリプション更新料金。マーチャントにとって明らかに対象外のフローは省略してください。

実装の回答や最終計画書については、関連する MCP ドキュメントを確認した後にのみコードを作成してください。バックエンドが決済意図(PaymentIntent)と同意のステータスを確認するまで、フロントエンド実装を暫定版として扱ってください。

原文(English)を表示

Airwallex Card MIT For AI Providers

Source Policy

For current Airwallex API field names and SDK shapes, prefer the Airwallex docs MCP over any embedded or cached examples. Verify the relevant Airwallex behavior with MCP before producing API fields, SDK code, or integration claims.

Keep the solution card-only, Web JS SDK-only, and merchant-managed. Do not route the design to hosted checkout, Drop-in, HPP, non-card methods, or provider-managed subscription engines.

Prerequisite

Install only the Airwallex Docs MCP connector needed for documentation lookup. Use the official setup guide:

https://www.airwallex.com/docs/developer-tools/ai/developer-connector.md

No Embedded Code Examples In The Skill

Do not store SDK snippets, API request examples, HTML examples, JSON payloads, or curl commands in this skill. Use this skill for interaction design, decisions, field intent, state handling, and implementation checklists only.

Plan First

Always settle the plan before implementation. Start by identifying the merchant business entries, shopper interaction flows, consent type for each flow, billing-information collection, fraud-data responsibilities, backend/webhook responsibilities, and open questions.

Do not move into code generation until the plan is accepted, unless the user explicitly asks to skip planning. If the user asks for code without an existing plan, first provide a compact plan and call out any assumptions that the code will depend on.

Plan Artifact

The primary deliverable of this skill is an implementation plan document. First discuss and settle the plan in conversation. Then use this skill and the Airwallex docs MCP to create the plan artifact.

Default the plan filename to airwallex-ai-provider-card-mit-plan.md in the current project unless the user specifies another location. If a file already exists at that path, confirm before overwriting it.

The completed plan document should be suitable for user review before implementation begins. It should include MCP-verified JavaScript frontend examples for Split Card Elements and MCP-verified backend API call examples for the relevant PaymentIntent and PaymentConsent flows.

Core Model

This skill designs merchant-initiated card-on-file flows for AI products:

  • Token wallet top-ups, manual recharge, low-balance auto-recharge, and usage-driven charges use an unscheduled MIT consent.
  • Fixed-amount, fixed-cycle subscriptions use a separate scheduled MIT consent.
  • Every later charge must be created by the merchant backend and tied to the correct payment_consent_id.
  • The shopper participates only when entering a card or authorizing a new agreement. Later recharge and renewal charges are merchant-initiated.

Arguments

$ARGUMENTS selects which flow(s) to plan (default plan; scope the full plan collaboratively): plan, recharge, auto-recharge, subscription, saved-card, renewal, full. These map to the flows in Business Coverage below.

Business Coverage

This skill guides the full merchant-managed card MIT plan for these AI provider business flows:

  • Add card for recharge authorization.
  • Manual recharge.
  • Auto-recharge setup and runtime charging.
  • Subscription signup with a new card.
  • Subscription signup with a saved card.
  • Subscription renewal.

The plan must define the shopper interaction, consent type, billing-information handling, fraud-data handling, backend workflow, webhook confirmation, ledger impact, and failure recovery for each applicable flow.

Reference Loading

Load only the reference needed for the task:

  • Read references/interaction-flows.md first when planning user journeys, product flows, or end-to-end implementation. Use its step-by-step ASCII flows before API mapping.
  • Read references/airwallex-objects-and-consents.md for object mapping, consent selection, local data models, and charge routing.
  • Read references/frontend-split-card-elements.md for Web JS SDK Split Card Elements UX, validation, 3DS, success, and failure handling.
  • Read references/server-and-webhooks.md for backend endpoints, webhook processing, idempotency, ledger updates, invoices, receipts, and retries.
  • Read references/fraud-data-standards.md whenever designing or implementing PaymentIntent creation or confirmation. The coding agent must use the Airwallex docs MCP to verify the current fraud-prevention data standards before writing API calls.
  • Read references/ux-copy-and-checklists.md for authorization copy, settings screens, cancellation UX, and implementation checklists.

Output Standard

For planning answers, include:

  1. Step-by-step ASCII interaction map from the shopper's point of view.
  2. Business flow coverage.
  3. Consent strategy for each applicable flow.
  4. Airwallex object mapping.
  5. Frontend Split Card Elements flow if card collection is involved.
  6. Backend and webhook responsibilities.
  7. Fraud-prevention data fields to collect and pass, with MCP verification noted.
  8. Merchant-owned ledger and reconciliation notes.
  9. MCP-verified JS frontend examples and API call examples to include in the plan document.
  10. Proposed airwallex-ai-provider-card-mit-plan.md filename and path for user confirmation.
  11. Open assumptions or questions.

The plan should explicitly cover the relevant business flows from this set: add card for recharge authorization, manual recharge, auto-recharge setup, subscription signup with a new card, subscription signup with a saved card, and subscription renewal. Omit flows only when they are clearly out of scope for the merchant.

For implementation answers or final plan documents, produce code only after checking the relevant MCP docs. Treat frontend completion as provisional until the backend confirms the PaymentIntent and consent status.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。