Skip to main content
Paste this prompt into your coding agent to audit an integration that already runs, including one you inherited. The agent reviews a live integration for duplicate-payment risk, unverified events, fragile error handling, compliance gaps, and enum drift, and ranks what it finds.

Before you start

  • Access to the integration’s code, including webhook handlers and batch jobs.

Prompt

Prompt

How to use

  1. Point the agent at the whole integration, including the webhook handler and any batch job — the findings that matter are usually in the job nobody has read for a year.
  2. Take finding class 4 to whoever owns compliance before you touch code. It is a business-model question, not a bug.
  3. Re-run after fixing. Drifted enums come back every time the API adds a value.

What the prompt builds

Errors to expect

These codes come from the errors catalog, for the resources this prompt uses. Match on code, not on message.

Idempotency

Safe retries with Idempotency-Key.

Nested payments

Whose funds can move, and for whom.

Production readiness checklist

Audit a working Sandbox integration before real money moves.

Debug Lumx webhook delivery

Find out why webhooks don’t arrive or fail verification.