Skip to content

feat: add payouts/instant, payout-methods, slack, stripe/connect routes#1084

Merged
davedumto merged 1 commit into
davedumto:mainfrom
FrostGraphix:feat/close-1036-1033-1013-1010
Jun 25, 2026
Merged

feat: add payouts/instant, payout-methods, slack, stripe/connect routes#1084
davedumto merged 1 commit into
davedumto:mainfrom
FrostGraphix:feat/close-1036-1033-1013-1010

Conversation

@FrostGraphix

Copy link
Copy Markdown
Contributor

Summary

Closes #1036
Closes #1033
Closes #1013
Closes #1010

Changes

#1036 — POST /api/routes-d/payouts/instant

Request an instant payout. Validates amount (positive number), currency, and destinationId. Checks wallet exists, creates a transaction record with type: instant_payout, returns 201.

#1033 — GET,POST /api/routes-d/payout-methods

List and add payout methods. GET returns all methods for the user ordered by creation date. POST validates type and label, auto-sets isDefault: true on first method, returns 201.

#1013 — POST /api/routes-b/integrations/slack

Configure Slack notifications. Validates webhookUrl (must be HTTPS) and channel. Upserts an integration record with type: slack, wrapped with withRequestId.

#1010 — POST /api/routes-b/integrations/stripe/connect

Connect a Stripe account. Validates code, rejects if already connected (409). Upserts integration with type: stripe, returns 201. Wrapped with withRequestId.

Test plan

  • Auth guard tests: 401 on missing/invalid token for all endpoints
  • Validation tests: 422 on bad input, 409 on duplicate Stripe connection
  • Happy path tests: correct status codes and response shapes

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@FrostGraphix is attempting to deploy a commit to the david's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@FrostGraphix 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

@davedumto davedumto merged commit 3b2de68 into davedumto:main Jun 25, 2026
1 of 3 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

2 participants