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
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements a new
WebhookBlockcomponent 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
WebhookBlockcomponent (src/components/webhook-block/):webhook-block.tsx,webhook-block.types.ts,webhook-block.styles.ts, plus awebhook-block-payloadsub-component (tsx/types/styles) for rendering an individual payloaddata/webhooks/covering account lifecycle events, BACS credits/debits/mandates, SEPA payments, TARGET2 transfers, FX trades, statements, and CASS switch messages (removes the old placeholderdefault.json)content-new/docs/gbp-accounts/manage-accounts.mdxwebhook-placeholder.tsxandtemplates/home.tsxto wire the new component inThis is a real, substantial feature (not just a tweak) — worth reviewing properly before deciding to merge or close.