Skip to content

docs(payments): replace merchant onboarding with API Quick Start (WCPM-385)#50

Merged
riveign merged 7 commits into
mainfrom
devin/wcpm-385-merchant-quickstart
May 18, 2026
Merged

docs(payments): replace merchant onboarding with API Quick Start (WCPM-385)#50
riveign merged 7 commits into
mainfrom
devin/wcpm-385-merchant-quickstart

Conversation

@riveign
Copy link
Copy Markdown
Contributor

@riveign riveign commented May 18, 2026

Summary

Replaces the dashboard-flow oriented Merchant Onboarding page with an integration-focused Quick Start page that takes a partner from zero to a live payment in four steps:

  1. Create an API key in the Merchant Dashboard
  2. Authenticate requests with the Api-Key header (with a WCP-Version tip)
  3. Create a merchant via POST /v1/merchants (with Idempotency-Key)
  4. Create a payment via POST /v1/payments (using the Merchant-Id header)

Each step links into the corresponding /api-reference/latest/... page for the full schema.

Why

The previous page documented an internal dashboard onboarding flow (signup → email verify → KYB) that:

  • Targets the wrong audience — the dashboard CTA (EXTERNAL_LINK.INTEGRATION_GUIDE) sends a developer here looking for how to integrate, not screenshots of the signup flow they just went through.
  • Duplicates content the dashboard already surfaces inline (the KYB stepper is built into the dashboard UI itself).

The new Quick Start gives that developer audience the actual code path they need.

URL stability

Added a redirect so existing callers don't break:

{ "source": "/payments/merchant/onboarding", "destination": "/payments/merchant/quickstart" }

Validated locally via mint dev: the static path-to-path redirect resolves with a 307 in dev. (Path-to-regexp/glob redirects only resolve in prod — that's a known Mintlify dev-server limitation, see PR #46 — but static paths like this one DO work in dev.)

Scope

  • payments/merchant/onboarding.mdx → deleted
  • payments/merchant/quickstart.mdx → created
  • docs.json → nav updated in both the stable (2026-02-18) and preview (2026-02-19.preview) version blocks; one new redirect entry

Dropped the previous KYB/account-provisioning content. That flow lives in the dashboard UI; a duplicate doc page added no value and obscured the integration story.

Test plan

  • mint dev/payments/merchant/quickstart renders 200, all four steps render
  • mint dev/payments/merchant/onboarding → 307 → /quickstart
  • mint dev/api-reference/latest/post-v1-merchants still resolves (unchanged redirect)
  • Mintlify preview deploy — confirm production redirect + page render
  • Smoke-test the dashboard CTA after deploy:
    • "Read the docs about integration" link on /api-keys → lands on Quick Start
    • "Read the Docs" link on /merchants empty state → still lands on POST /v1/merchants (unchanged)

Related

… (WCPM-385)

Replaces the dashboard-flow oriented "Merchant Onboarding" page with an
integration-focused "Quick Start" that takes a partner from zero to a
live payment in four steps:

  1. Create an API key in the Merchant Dashboard
  2. Authenticate requests with the Api-Key header
  3. Create a merchant via POST /v1/merchants
  4. Create a payment via POST /v1/payments

Adds a redirect /payments/merchant/onboarding -> /payments/merchant/quickstart
so existing dashboard CTAs (EXTERNAL_LINK.INTEGRATION_GUIDE) keep working.

Drops the previous KYB/account-provisioning content — that flow is already
surfaced inline in the merchant dashboard UI; duplicating it in docs added
no value and made the page miss its real audience (developers integrating
the API).

Nav update applies to both stable (2026-02-18) and preview
(2026-02-19.preview) versions.
@linear
Copy link
Copy Markdown

linear Bot commented May 18, 2026

WCPM-385

@mintlify
Copy link
Copy Markdown

mintlify Bot commented May 18, 2026

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

Project Status Preview Updated (UTC)
wc-pay-docs 🟢 Ready View Preview May 18, 2026, 3:12 PM

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

- Rename "Quick Start" to "Quickstart" (one word, matches industry convention)
- Rename sidebar group "Merchant Dashboard" to "WalletConnect Pay for
  Merchants" — page is integration-oriented, not dashboard-oriented
- Drop "Merchant Dashboard" branding from body copy in favour of plain
  "the dashboard" (no need to repeat the product name inside the docs)
- Add a contact-sales callout for readers without dashboard access yet
- Remove the "What's next" footer — webhooks/settlements/API-reference
  links belong in dedicated docs, not in a teaser list at the bottom of
  the quickstart
…y-regenerate note (WCPM-385)

- Promote the trailing one-liner about GET /v1/payments/{id}/status into a
  full Step 5 with a curl example, the response shape, and an explanation
  of the isFinal / pollInMs polling contract
- Add a Tip recommending webhooks over polling for production use
- Drop the "regenerate it from the same page, the previous value stops
  working immediately" sentence — the immediate-invalidation behaviour
  described doesn't match what the dashboard actually does
Comment thread payments/merchant/quickstart.mdx Outdated
<Step title="Create an API key" stepNumber="1">

1. Open the [dashboard](https://merchant.pay.walletconnect.com) and sign in.
2. Navigate to **API Keys** in the sidebar.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Navigate to **API Keys** in the sidebar.
2. Navigate to **API Keys** inside the Settings option.

@riveign riveign merged commit 3bd44d2 into main May 18, 2026
5 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

Development

Successfully merging this pull request may close these issues.

2 participants