Skip to content

docs(nav): surface the webhook pages - #94

Open
xikimay wants to merge 4 commits into
mainfrom
docs/webhooks-navigation
Open

docs(nav): surface the webhook pages#94
xikimay wants to merge 4 commits into
mainfrom
docs/webhooks-navigation

Conversation

@xikimay

@xikimay xikimay commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Docs side of the webhooks rollout, in three moves:

Navigation. The Webhooks guide goes under WalletConnect Pay after Test mode (it is a product feature). The event reference gets a top-level Webhook Reference tab: the payload carries its own api_version (2026-05-18), independent of the REST version, so it belongs neither in the API Reference tab nor in a feature group. This is the GitHub/Shopify pattern (dedicated webhooks section) rather than Stripe's, which only works there because Stripe events share the REST api_version.

Version picker scoping. Payments and Webhook Reference were identical across the two version blocks; only the REST reference is versioned. Tabs move to the navigation root with versions nested inside API Reference only, so the 2026-02-18 picker no longer shows on tabs it does not apply to. Collapses 130 lines of duplicated nav.

Per-event pages. The reference splits into an overview (envelope, snapshot, presence matrix, objects, same slug as before so existing links hold) plus one page per event type with its presence row and golden-fixture example. Examples verified byte-identical to the MX main fixtures.

@mintlify

mintlify Bot commented Aug 3, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
wc-pay-docs 🟢 Ready View Preview Aug 3, 2026, 8:21 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

xikimay and others added 2 commits August 3, 2026 12:29
The overview keeps the envelope, snapshot, presence matrix, and object
tables on the existing slug. Each event type gets its own page: when
it fires, a one-row status/populated/null snapshot table with the
populated blocks linked to their field tables, and the golden-fixture
example. Object headings and Type-column links use type-style
capitalization; field names stay lowercase code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Webhooks guide goes under WalletConnect Pay after Test mode. The
event reference gets a top-level Webhook Reference tab: the payload
carries its own api_version (2026-05-18), independent of the REST
version, so it belongs neither in the API Reference tab nor in a
feature group. Tabs move to the navigation root with versions nested
inside API Reference only, since the other tabs were identical across
version blocks; the version picker now shows only where it applies.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@xikimay
xikimay force-pushed the docs/webhooks-navigation branch from ef2654d to 5d684b6 Compare August 3, 2026 10:29
@xikimay
xikimay marked this pull request as ready for review August 3, 2026 13:49
expandable collapsed the one thing each page exists for behind a See
all N lines link, and the code block title just repeated the page
title. Plain json blocks match the guide and the ecommerce reference.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The envelope and data tables restated what the event reference owns,
and both copies had already drifted (example timestamps, reference_id
nullability). The guide now names the four fields that decide handler
correctness and links out for the rest; the timestamp parsing pitfall
moves into the parse-tolerantly warning.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants