feat(disputes): add structured payment dispute resolution with evidence management #641 - #676
Merged
Smartdevs17 merged 1 commit intoJul 30, 2026
Conversation
|
@salienne Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@salienne is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
…ce management Implements Issue Smartdevs17#641: workflow engine, evidence hashing, resolution tracking, notifications, analytics API, and documentation.
salienne
force-pushed
the
fix/641-payment-dispute-resolution
branch
from
July 29, 2026 23:58
258bfed to
9c469a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a structured Payment Dispute Resolution system with evidence management, resolution tracking, dispute notifications, and analytics — addressing informal dispute handling.
Related Issue
Closes #641
Changes
⚖️ Dispute Resolution Engine
[ADD]
backend/src/services/dispute-resolution/workflow-engine.tspending→awaiting_response→under_review→resolved/dismissed/escalated).[ADD]
backend/src/services/dispute-resolution/dispute-resolution-service.tsemail/push/in-app).resetForTests()(same pattern as payment-reconciliation).[ADD]
backend/src/routes/dispute-resolution.ts/api/v1/dispute-resolution.[MODIFY]
backend/src/index.ts[ADD]
backend/docs/DISPUTE_RESOLUTION.md[ADD]
backend/src/services/__tests__/dispute-resolution.test.tsVerification Results
GET /analyticsmetrics/api/v1/dispute-resolutionCRUD + ops endpointsbackend/docs/DISPUTE_RESOLUTION.mdMade with Cursor