payment-idempotency

Installation
SKILL.md

Idempotency & Duplicate Prevention

When this skill applies

Use this skill when:

  • Implementing any PPP endpoint handler that processes payments, cancellations, captures, or refunds
  • Ensuring repeated Gateway calls with the same identifiers produce identical results without re-processing
  • Building a payment state machine to prevent invalid transitions (e.g., capturing a cancelled payment)
  • Handling the Gateway's 7-day retry window for undefined status payments

Do not use this skill for:

Decision rules

Related skills

More from vtexdocs/ai-skills

Installs
71
GitHub Stars
28
First Seen
Mar 17, 2026