Eazydev-CEO/payments-webhook-integration-layer ? reverse-engineered prompt
Reverse engineered prompt
Build me a Django app that acts like a single payment hub in front of Stripe, Paystack, and a manual internal flow. I want one clean API for creating payment intents with idempotency, one verified webhook endpoint per provider, and a shared internal event format so everything is handled the same way no matter where it came from.
It should safely reject bad signatures, ignore duplicate webhook events, retry failed webhook processing and CRM delivery with backoff, and keep an immutable audit trail of every important state change. I also want an operator dashboard where I can see intents, transactions, webhook events, retries, settlements, reconciliation results, and failed deliveries, plus a simple webhook simulator and a manual retry action.
Please make it work end to end without needing real payment accounts, include login for the dashboard, and add API docs. Use a clean service layer so the business logic is shared by the API, dashboard, and background jobs, and look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit