/jpm-payments-skills:jpm-merchant-integrationsfrom jpm-payments-skills
Guides merchants through integrating J.P. Morgan Payments APIs (Checkout, Online Payments, Tokenization, 3-D Secure, Account Updater, Reporting) after OAuth authentication is set up.
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 integrating one of the supported J.P. Morgan Payments APIs. Authentication is assumed to be in place — if it isn't, point the user at jpm-integrations-get-started (which hands off to jpm-oauth) and exit. For inbound webhooks, hand off to jpm-notifications.
The merchant should already have:
getAccessToken() function (or its language equivalent)If you arrived here from jpm-oauth, both are already known — the auth module's path is in conversation context. Use it directly.
If invoked standalone, ask:
getAccessToken() (or equivalent)"If No: tell the user to run jpm-integrations-get-started first (it will hand off to jpm-oauth), then come back here. Exit.
If Yes but the auth module path isn't in conversation context, ask where the module lives so the integration code can import from it.
It is recommended to implement one API at a time. Each has its own request shapes, error semantics, and test scenarios.
Ask the questions in this step one at a time, in this order, waiting for each answer — never batch them into a single prompt, because later questions depend on earlier answers:
2a. API question. Ask:
2b. API follow-up — required before the description when the answer to 2a is Account Updater or Reporting.
If the answer is Account Updater, ask (the modes have different prerequisites):
Remember the answer as auMode and carry it into the description prompt and Step 3.
If the answer is Reporting, ask (the two options produce very different request payloads):
Remember the answer as reportingOption and carry it into Step 3. Both options are documented in references/reporting.md: its Sample Requests link the preset-report and minimal adhoc requests (quick integration) and the field-level daily request (custom integration).
2c. Description. Only after 2a — and 2b, if it applied — has been answered, ask the user (free text):
"Briefly describe what you're building or migrating — e.g. 'a simple checkout page for a single product', 'migrating from Stripe Elements', 'nightly settlement reconciliation into our data warehouse'. A sentence or two is enough."
Carry this description into Step 3 so the implementation, file structure, and code comments are tailored to the merchant's actual use case rather than a generic reference build.
2d. 3-D Secure flow — ask only if the chosen API is Online Payments and the integration involves 3-D Secure (the user mentioned 3DS, SCA / PSD2, or cardholder authentication / liability shift, or their description implies it). Skip it for Checkout (the Checkout platform performs 3DS automatically) and for Online Payments integrations that don't use 3DS. When 3DS is in scope, the merchant must pick how it's performed:
browserInfo + paymentAuthenticationRequest; JPM handles the challenge round-trip). Least integration work.authentication.threeDS block, where the DS transaction ID maps to authenticationTransactionId.Remember the answer as threeDSFlow and carry it into Step 3. Orchestrated and Passthrough are documented in references/online-payments.md; API (standalone) is documented in references/3d-secure.md.
Special note if
threeDSFlowis "Passthrough": Passthrough does not perform any 3DS authentication itself — it only forwards a cryptogram (CAVV / ECI / DS transaction ID) that must already exist. Make this explicit to the user and establish which situation they're in before generating code:
- They already have external 3DS in place (their own MPI or a third-party provider) → the integration just connects to it: wire the existing cryptogram source into the payment's
threeDSblock. Ask where those values come from so you can plug them in.- They do not have external 3DS yet → still generate the complete Online Payments (
/payments) integration, but expose the authentication as an unimplemented seam the merchant fills in later. Concretely: emit a single authentication function (e.g.authenticate(context): ThreeDSResult) that the payment flow calls to obtain the cryptogram, and leave its body unimplemented so it throws a clear "3DS not implemented — integrate your MPI here" error. The rest of the integration (request shape,threeDSfield mapping, validation, auth/proxy wiring) is fully built and compiles, so the app runs end-to-end up to the point of payment and then stops at that seam. Tell the user the payment side is done and they complete it by implementing that one function (or switching to "Orchestrated"/"API (standalone)", where JPM performs the authentication).
Once chosen, read the corresponding reference file from this skill's directory:
references/checkout.mdreferences/online-payments.md (if threeDSFlow is "API (standalone)", also read references/3d-secure.md)references/tokenization.mdreferences/3d-secure.mdreferences/account-updater.mdreferences/reporting.mdIf the user asks for an API not listed above (Wallet Decryptions, Disputes, Consumer Profile Management, In-Store Payments, Pay by Bank, Push to Card, Global Payments, Wire, US RTP, Embedded, Verifications, etc.), tell them this skill doesn't yet cover that API and offer one of the supported APIs instead. Don't try to invent the integration from scratch.
Follow the steps in the chosen reference file. If you captured a threeDSFlow in Step 2 (Online Payments + 3DS), implement that flow only — Orchestrated or Passthrough reference: online-payments.md, or standalone reference: 3d-secure.md — rather than building all three. Likewise, if you captured a reportingOption or auMode, build only that option or mode rather than both. Cross-cutting principles that apply to all supported APIs:
Authorization: Bearer <access_token> from the merchant's getAccessToken(). Import that function — do not re-implement token fetching inside the integration code. The auth module already caches correctly; bypassing it is exactly the per-call-token anti-pattern jpm-oauth warned against..bru for every request in the collection, and the tables carry the method and endpoint only — no request bodies. Before writing code that builds a JPM request, open the linked .bru for the closest matching scenario and mirror it: body fields and their shape, required headers (e.g. request-id, merchant-id), and any value its pre-request script generates per call (a fresh requestId UUID, for instance). If you cannot reach the file, say so and ask the user rather than inventing field names — a plausible-looking body that JPM rejects costs the merchant more than a question does.merchantOrderNumber), the consumer or the wallet/Drop-in payload (card or device tokens, expiry, cryptograms such as tokenAuthenticationValue, encrypted payloads, names, addresses), env vars (merchantId, base URLs), or a value generated per call (request-id). Bruno placeholders ({{merchantId}}, {{$randomFirstName}}, {{$randomCompanyName}}) mean "a value from somewhere else", not literals to keep — merchant.merchantSoftware should describe the merchant's own software. Never ship a sample's hardcoded card number, token, cryptogram, encrypted payload, amount, or address in integration code; test values belong in tests and CAT smoke-test fixtures only..bru from github.com or raw.githubusercontent.com. Use the link in the reference table as given, or fetch the same file's raw text by replacing https://github.com/jpmorgan-payments/api-collections/blob/ with https://raw.githubusercontent.com/jpmorgan-payments/api-collections/ and keeping the rest of the path, including refs/heads/main and the percent-encoding, unchanged. Don't try other hosts, branches, or paths. If neither form returns the request, stop and ask the user.JPM_CHECKOUT_API_URL, JPM_ONLINE_API_URL, JPM_TOKENIZATION_URL, JPM_3DS_URL, JPM_ACCOUNT_UPDATER_URL, JPM_REPORTING_URL) rather than hardcoding. The reference file for each API lists the URLs that apply.src/checkout/, src/payments/, etc.) but offer "new top-level folder" and "custom path" alternatives, the same way jpm-oauth did.jpm-notifications for inbound webhooks. Several of these APIs deliver state changes via the JPM Notifications API — Online Payments (paymentUpdateNotification), Tokenization (tokenLifecycleNotification), Account Updater registration mode (accountUpdateNotification), Reporting (reportStatusNotification, so scheduled runs don't have to be polled). Don't try to build the receiver inside this skill's code — point the merchant at jpm-notifications so signature verification, key rotation, and mTLS are done correctly in one place. For Account Updater, see account-updater.md for the retrieval step after each webhook. 3-D Secure is synchronous-only and has no webhook events.threeDSFlow is "Passthrough", the code you generate consumes a pre-existing cryptogram; it does not authenticate the cardholder. Confirm the merchant either already has external 3DS to connect to, or understands they must implement that upstream 3DS logic themselves — see the "Special note" in Step 2.Once the chosen API is implemented and the user confirms it's working in CAT:
Ask:
If Yes, return to Step 2 (the user picks a different API; skip Step 1, prerequisites are still satisfied).
If No, exit with a one-line summary of which APIs were integrated this session.
.bru in the collection — fetch the closest match and mirror it. If it can't be fetched, say so and ask.{{…}} placeholders) into integration code. Mirror the request shape and source every value from the order, the consumer, config, or per-call generation.jpm-notifications..env files — never by editing source.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jpmorgan-payments/ai --plugin jpm-payments-skills5 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-notificationsImplement and manage J.P. Morgan Payments Notifications (webhook) integrations in a merchant project once OAuth authentication is in place. Use this skill after jpm-oauth when the merchant wants to discover notification types, build a webhook receiver, create or inspect notification subscriptions, configure webhook security preferences, test delivery, retrieve notifications, or verify webhook signatures (X-Signature). Reuses the auth module generated by jpm-oauth — it does not implement its own OAuth. Delivery is WEBHOOK-first. Triggers include notifications, webhook, subscribe to notifications, notification types, callback URL, X-Signature, public keys, verify signature, payout/dispute/payment notifications, retry, dead letter.Other plugins' skills for the same job