/jpm-payments-skills:jpm-notificationsfrom jpm-payments-skills
Guides merchants through receiving and verifying J.P. Morgan Payments webhook events. Covers endpoint setup, signing-key fetch, signature verification (EC default, RSA optional), optional mTLS, and CAT smoke test. Companion to jpm-merchant-integrations; assumes OAuth is already in place via jpm-oauth.
Ships in jpm-payments-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Guide a merchant through receiving JPM webhook events. This is a sibling to jpm-merchant-integrations — it handles the inbound webhook path, not request/response REST. APIs that send notifications (Disputes, Account Updater card-registration mode, Online Payments capture/refund events, etc.) live in jpm-merchant-integrations; this skill handles receiving them.
The merchant should already have:
getAccessToken() (same auth module as jpm-merchant-integrations).If auth isn't set up yet, point the merchant at jpm-integrations-get-started → jpm-oauth first and exit.
If invoked standalone, ask:
If No: explain that webhook delivery requires a public endpoint and offer to come back once one exists. Exit.
Ask:
Carry the choice into Step 3.
Ask which event families the merchant cares about (free text). JPM organizes events into camelCase notification families with subscription-type subtypes — not dotted strings like payment.captured. The published families:
paymentUpdateNotification (Online Payments) — PaymentApproved, PaymentDeclined, PaymentErrored, PaymentVoid, PaymentClosedtokenLifecycleNotification (Tokenization) — CardDetailsUpdate, TokenStateChange, TokenProvisionUpdate, BulkTokenUpdateaccountUpdateNotification (Account Updater) — AccountUpdaterStatus (plus Pay-by-Bank subtypes)consumerProfileNotification — Created, PaymentMethodCreated, PaymentMethodDeleted, BulkConsumerProfileUpdateNotificationrecurringProgramNotification — PlanUpdated, PaymentApplied, PaymentNotApplied, etc.entityOnboardingNotification, merchantStatusNotification, payoutNotification (onboarding + payouts)Use ["All"] to subscribe to every subtype in a family. Full catalog and per-event payload shapes live in references/webhooks.md.
Notes on what this API does NOT cover:
POST /disputes and POST /disputes/status-query in the Disputes API. If the merchant's goal is dispute notifications, redirect them to the Disputes API docs on the developer portal — Disputes is not covered by jpm-merchant-integrations.Follow references/webhooks.md. Cross-cutting principles:
getAccessToken(), not a fresh OAuth client.Signature and Key-ID headers; verify against the raw request bytes using SHA256withECDSA (EC default) or RSA-SHA256 (alternate). Reject unsigned / invalid-signature requests with 401 before any business logic runs.securityPreferences.signingAlgorithm). Use the inbound Signing-Algorithm header only as a cross-check and reject on mismatch — selecting the verifier from an attacker-controlled header is the JWT alg-confusion pattern. Key-ID is fine as a cache key because it resolves against keys you fetched from GET /publicKeys.notificationId. Retries are normal. Keep a short-TTL store of recently-seen notificationIds and skip duplicates. This handles JPM's redeliveries — it is not replay protection: a captured signed payload still verifies after the TTL expires. The portal documents no timestamp header, so do not invent timestamp-based rejection; make handlers idempotent against your own business keys instead.src/webhooks/) but offer alternatives, same way jpm-oauth did.The full smoke test recipe lives in references/webhooks.md under "CAT smoke test." High-level pattern:
POST /subscriptions with your callbackURL.GET /publicKeys.paymentUpdateNotification.PaymentApproved).notificationId.Once one event family is flowing in CAT, ask if the merchant wants to wire additional families or move on to integrating an API that produces them — Online Payments, Tokenization, Account Updater, or Consumer Profile Management — via jpm-merchant-integrations. (Note: Disputes does not publish events through this API; dispute state is polled via the Disputes endpoints.)
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/jpm-csrGenerate a Certificate Signing Request (CSR) and matching private key for JPM Payments API onboarding. Use this skill when a merchant needs to create a CSR to send to their JPM Relationship Manager (RM) for client ID provisioning via IDAHO/IDAnywhere, when generating a new key pair for JPM/Chase Orbital API authentication, or when preparing credentials before completing JPM onboarding. Supports CAT, PROD, or both environments at once and enforces the JPM rule that the CN must differ between CAT and PROD./jpm-integrations-get-startedTriage and credential intake for merchants starting with J.P. Morgan Payments APIs. Use this skill when the user wants to migrate from another payment provider to JPM or start a new JPM integration from scratch. Sets up a .env file (generated fresh or updated in place) with the clientId, certificate path, and private key path that downstream skills will read at runtime. Does not persist credential contents./jpm-merchant-integrationsImplement J.P. Morgan Payments API integrations in a merchant project once OAuth authentication is in place. Use this skill after a merchant has completed JPM onboarding and wired up authentication (typically right after `jpm-oauth`) and is ready to integrate one of the supported APIs — Checkout, Online Payments, Tokenization, 3-D Secure, Account Updater, or Reporting. For inbound webhook handling, use the companion `jpm-notifications` skill instead. Recommends implementing one API at a time, reusing the credentials and auth module already wired into the project./jpm-oauthImplement J.P. Morgan Payments OAuth authentication (JWT signing + IDAnywhere token exchange) in a merchant project. Use this skill when a merchant has their clientId, certificate, private key, and SHA-1 thumbprint and wants to generate the auth code in their codebase — typically right after running jpm-integrations-get-started. Produces a language-specific auth module with built-in token caching that follows JPM guidance against regenerating tokens per request. Supports Node/TypeScript, Python, and Java idiomatically; for other languages, translates from the canonical algorithm. Asks for target environment (CAT or PROD) and JWT TTL; the resource_id is read from the merchant's `.env` at runtime rather than collected interactively.npx claudepluginhub jpmorgan-payments/ai --plugin jpm-payments-skillsOther plugins' skills for the same job