payment-provider-framework
Originally fromvtexdocs/ai-skills
Installation
SKILL.md
Payment Provider Framework (VTEX IO)
When this skill applies
Use this skill when:
- Creating or maintaining a payment connector implemented as a VTEX IO app (not a standalone HTTP service you host yourself)
- Wiring
@vtex/payment-provider,PaymentProvider, andPaymentProviderServiceinnode/index.ts - Configuring the
paymentProviderbuilder,configuration.json(payment methods,customFields, feature flags) - Implementing
this.retry(request)for Gateway retry semantics on IO - Extending
SecureExternalClientand passingsecureProxyon requests for card flows on IO - Testing via payment affiliation, workspaces, beta/stable releases, the VTEX App Store, and VTEX homologation
Do not use this skill for:
- PPP HTTP contracts, response field-by-field requirements, and the nine endpoints in the abstract — use
payment-provider-protocol - Idempotency and duplicate
paymentIdhandling — usepayment-idempotency - Async
undefinedstatus,callbackUrlnotification vs retry (IO vs non-IO) — usepayment-async-flow - PCI rules, logging, and token semantics beyond IO wiring — use
payment-pci-security