Processes payments with built-in compliance checks including sanctions screening, jurisdiction validation, and risk assessment. Use when user says "process payment", "execute transaction", "approve payment", "payment compliance check", or "verify and process payment".
Pattern: Domain-Specific Intelligence
ドメイン専門知識(コンプライアンスルール)をスキルに埋め込み、
支払い処理の前に必ず規制チェックを実行します。
コンプライアンスチェックは処理より必ず先に実行されます。
重要: 以下のコンプライアンスチェックを完了するまで、
絶対に支払い処理 MCP ツールを呼び出してはいけない。
取引情報を取得・確認すること:
MCP tool: get_transaction_details
Parameters:
- transaction_id: {取引ID}
Expected fields: amount, currency, sender, recipient, country
MCP tool: check_sanctions_list
Parameters:
- name: {送金者名}
- country: {国コード}
- amount: {金額}
Expected output: { "sanctioned": false, "match_score": 0.0 }
ルール: sanctioned: true または match_score > 0.7 の場合は 即時停止
以下の国・地域への送金は追加確認が必要:
MCP tool: validate_jurisdiction
Parameters:
- sender_country: {送金元国コード}
- recipient_country: {送金先国コード}
- currency: {通貨コード}
Expected output: { "allowed": true, "requires_review": false }
MCP tool: assess_transaction_risk
Parameters:
- amount: {金額}
- transaction_type: {取引種別}
- frequency: {同一アカウントの月間取引回数}
Expected output: { "risk_level": "low|medium|high", "score": 0-100 }
ルール:
risk_level: "low" → そのまま処理へrisk_level: "medium" → ユーザーに確認を求めてから処理risk_level: "high" → 処理を停止、コンプライアンスチームへエスカレーションすべてのチェック結果を評価すること:
| 条件 | アクション |
|---|---|
| すべてクリア | Step 4(処理)へ進む |
| 制裁リストヒット | 即時停止・ケース作成 |
| 管轄エラー | 停止・審査チームに転送 |
| 高リスク | 停止・コンプライアンスチームに転送 |
| 中リスク | ユーザー確認後に進む |
MCP tool: execute_payment
Parameters:
- transaction_id: {取引ID}
- compliance_token: {Step 2-3 で取得したトークン}
処理結果に関わらず、常に監査ログを記録すること:
MCP tool: create_audit_log
Parameters:
- transaction_id: {取引ID}
- compliance_checks: {実行したチェックの結果}
- decision: "approved|rejected|escalated"
- timestamp: {現在時刻}
- processor: "payment-compliance-processor-skill"
コンプライアンス問題が発生した場合:
MCP tool: create_compliance_case
Parameters:
- transaction_id: {取引ID}
- issue_type: "sanctions|jurisdiction|high_risk"
- details: {問題の詳細}
- priority: "urgent|high|medium"
ユーザーに通知:
⚠️ この取引はコンプライアンス審査が必要です
ケース番号: {case_id}
担当チームが 24 時間以内に連絡いたします。
User says: "取引 TXN-001 を処理して"
Actions:
Result: 処理完了・監査ログ記録済み
User says: "取引 TXN-999 を処理して(大口送金)"
Actions:
Result: 「コンプライアンス審査が必要です。ケース番号: CASE-xxx」