Skip to content

feat(payments): implement PaymentsModule with payment ledger and webhook support#645

Merged
yusuftomilola merged 1 commit intoDistinctCodes:mainfrom
lishmanTech:payment
Mar 10, 2026
Merged

feat(payments): implement PaymentsModule with payment ledger and webhook support#645
yusuftomilola merged 1 commit intoDistinctCodes:mainfrom
lishmanTech:payment

Conversation

@lishmanTech
Copy link
Contributor

  • Add Payment entity with orderId, userId, amount, currency, status, provider, providerReference, metadata, createdAt
  • Create enums for PaymentStatus and PaymentProvider
  • Implement DTOs for creating and refunding payments
  • Add PaymentsService for initiating payments, listing, fetching by id/order, and refunds
  • Implement webhook ingestion endpoint for provider-agnostic events
  • Add pagination support for admin payment listing
  • Register PaymentsModule with controller and service

closes #643

@vercel
Copy link

vercel bot commented Mar 10, 2026

@lishmanTech is attempting to deploy a commit to the naijabuz's projects Team on Vercel.

A member of the Team first needs to authorize it.

@yusuftomilola yusuftomilola merged commit 0255b5c into DistinctCodes:main Mar 10, 2026
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build provider-agnostic PaymentsModule as an internal ledger with HMAC webhook ingestion and refund support

2 participants