Skip to content

feat(payments): implement payment intent creation endpoint#161

Merged
MissBlue00 merged 1 commit into
MissBlue00:mainfrom
supreme2580:feat/payment-intent-endpoint
May 28, 2026
Merged

feat(payments): implement payment intent creation endpoint#161
MissBlue00 merged 1 commit into
MissBlue00:mainfrom
supreme2580:feat/payment-intent-endpoint

Conversation

@supreme2580
Copy link
Copy Markdown
Contributor

closes: #8

- Add POST /payments endpoint (authenticated via JWT)
- Generate unique payment_reference (PAY-timestamp-random)
- Store intent with pending status in-memory
- Return payment_id, payment_reference, checkout_url, status, created_at, expires_at
- Add optional reference field to CreatePaymentIntentDto
- Add Swagger documentation for the endpoint
- Register PaymentsModule in AppModule
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

@supreme2580 is attempting to deploy a commit to the missblue00's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@supreme2580 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! 🚀

Learn more about application limits

@MissBlue00 MissBlue00 merged commit 5ebe1ab into MissBlue00:main May 28, 2026
0 of 4 checks passed
MissBlue00 added a commit that referenced this pull request May 29, 2026
feat(payments): implement payment intent creation endpoint
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.

Payments: Implement payment intent creation endpoint

2 participants