Skip to content
This repository was archived by the owner on Jul 4, 2026. It is now read-only.

Add WebhookBlock component and webhook payload schemas#1

Open
tjrobinson wants to merge 2 commits into
mainfrom
feature/webhooks
Open

Add WebhookBlock component and webhook payload schemas#1
tjrobinson wants to merge 2 commits into
mainfrom
feature/webhooks

Conversation

@tjrobinson

Copy link
Copy Markdown
Owner

Implements a new WebhookBlock component for rendering webhook payload documentation, plus imports the full set of ClearBank webhook payload JSON schemas needed to back it. Never submitted as a PR before, so this only exists in this fork.

Changes

  • New WebhookBlock component (src/components/webhook-block/): webhook-block.tsx, webhook-block.types.ts, webhook-block.styles.ts, plus a webhook-block-payload sub-component (tsx/types/styles) for rendering an individual payload
  • ~150 webhook payload JSON schemas added under data/webhooks/ covering account lifecycle events, BACS credits/debits/mandates, SEPA payments, TARGET2 transfers, FX trades, statements, and CASS switch messages (removes the old placeholder default.json)
  • Minor content edit to content-new/docs/gbp-accounts/manage-accounts.mdx
  • Small tweaks to webhook-placeholder.tsx and templates/home.tsx to wire the new component in

This is a real, substantial feature (not just a tweak) — worth reviewing properly before deciding to merge or close.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant