/pagokit:payment-migratorfrom PagoKit — Payment Integration Agent
Plans and executes a zero-downtime payment provider migration. Maps event vocabularies, flags architectural differences (notification model, merchant-of-record, PCI scope), and sequences a coexistence period instead of an atomic switch.
Ships in PagoKit — Payment Integration Agent. 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.
None: SKILL.md is the whole skill.
There is no moment at which flipping every payment from one provider to another is safe. A migration is a period during which both run, and the job is to make that period short, observable and reversible.
Read PAGOKIT_INTEGRATION.md, then verify it against the code; it goes stale. You need:
Say this before planning anything, because it determines whether the migration is a technical task or a customer-facing event.
Stored card tokens usually cannot migrate. They belong to the provider that vaulted them. Some providers support a PCI-scoped token export or a network-token migration on request; most do not, and the ones that do require a written agreement between both parties. Until that is confirmed in writing, plan for existing subscribers to re-enter a card — which is a churn event, not a detail.
Read both catalog entries and name every difference that changes the architecture:
| Compare | If it differs |
|---|---|
notification_model | Moving to return_url_commit or ping_then_poll is a different architecture, not a swapped SDK |
webhook.required_events_minimum | Map them explicitly. Flag every event with no equivalent |
mor.is_mor | A merchant of record becomes the seller. Invoices, tax handling and the statement descriptor all change |
methods and their reversibility | New irreversible rails mean the refund path changes shape |
settlement.payout_delay_days | Cash flow changes, and someone in finance needs to know |
recurring.rails | Card-to-mandate is a different lifecycle entirely |
pci.scope | Moving to a direct-API integration can push the merchant from SAQ A to SAQ D |
provider column on every payment row permanently. Reconciliation needs it long
after the old provider is gone.PAGOKIT_MIGRATION.md: what moves when, what cannot move, what the customer sees, how to
tell whether it is working, and the rollback. A migration without a written rollback is a bet.
Before the first payment routes to the new provider, make these observable: success rate by provider, decline reasons by provider, webhook delivery failures, and time from checkout to confirmed payment. A migration that quietly halves your approval rate looks exactly like a successful one until the end of the month.
What SKILL.md sets; muted values are Claude Code's defaults
- The user invokes /pagokit:migrate, or asks how to move from one provider to another - A provider is being wound down, or its fees or coverage no longer fit
8 skills in this plugin
/doctorAudits an existing PagoKit integration in the current project against the generated per-provider checklist, so it covers every provider in the catalog rather than a hardcoded few. Checks .gitignore covers .env, that env vars are present and use test-key prefixes, that the webhook secret looks valid, that the webhook handler verifies signatures, that the minimum events for the integrated provider are routed, and that PAGOKIT_INTEGRATION.md exists. Used by /pagokit:doctor. Read-only — never writes files./integration-builderComposes a complete payment integration by resolving capability fragments against the chosen provider's catalog entry, then emits a structured file plan for integration-specialist to execute. Selects fragments by verification family, notification model and checkout pattern rather than by provider name, so a provider new to the catalog composes correctly without new templates. Refuses to emit a signature verifier when the provider's scheme is not verified, emitting re-fetch and an explicit TODO instead./payment-advisorRecommends the single best payment provider for the user's project after a short interactive wizard, then hands off to the implementer. Runs a deterministic local ranking engine instead of scoring by hand, so the same situation always yields the same answer and every rejection has an exact reason. Computes real fees on a concrete transaction, always states whether PagoKit can actually BUILD the integration or only advise on it, discloses when the data was last verified, and refuses sanctioned markets outright. Bilingual ES/EN/PT, language inferred from the user's first prompt.npx claudepluginhub hainrixz/agente-pagokit --plugin pagokitOther plugins' skills for the same job