Skip to content

feat(settings): webhook endpoint configuration UI - #547

Open
Nuwe10 wants to merge 1 commit into
Stellar-split:mainfrom
Nuwe10:feature/516-webhook-endpoint-configuration-ui
Open

feat(settings): webhook endpoint configuration UI#547
Nuwe10 wants to merge 1 commit into
Stellar-split:mainfrom
Nuwe10:feature/516-webhook-endpoint-configuration-ui

Conversation

@Nuwe10

@Nuwe10 Nuwe10 commented Jul 29, 2026

Copy link
Copy Markdown

Summary

Adds a full webhook management UI under /settings/webhooks.

Changes:

  • src/app/api/settings/webhooks/store.ts — shared in-memory endpoint store (type-safe, production-ready to swap for DB)
  • src/app/api/settings/webhooks/route.tsGET (list) + POST (create with URL + event validation); secret returned once on creation
  • src/app/api/settings/webhooks/[id]/route.tsDELETE (remove) + POST (rotate secret)
  • src/components/settings/WebhookForm.tsx — URL validation + event checkboxes (invoice.created, invoice.funded, invoice.released)
  • src/app/settings/webhooks/page.tsx — endpoint list, one-time secret reveal modal, delete confirmation dialog

Validation: No TypeScript diagnostics in any new file.

Closes #516

Closes Stellar-split#516

- Add shared in-memory store at src/app/api/settings/webhooks/store.ts
- Add GET/POST /api/settings/webhooks route: list endpoints, create with URL validation and event selection
- Add DELETE/POST /api/settings/webhooks/[id] route: delete with 204, rotate generates new HMAC secret
- Add WebhookForm component: URL + event-type checkboxes with validation
- Add /settings/webhooks page: endpoint list, one-time secret reveal modal, delete confirmation dialog
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

@Nuwe10 is attempting to deploy a commit to the kingsman-99's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

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

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.

Webhook Endpoint Configuration UI

1 participant