Repository navigation
Document Link Pay Tokens and checkout authorization for Link cards - #703
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
bmsaadat
left a comment
There was a problem hiding this comment.
thanks, this lines up with the API, CLI v0.49.0 and SDK 0.126.0. requesting changes for two things:
- over-limit advice (
stripe-link.mdx:514): "update the card to a smaller amount or tell the user this checkout can't be paid with link" should match the API and CLI: delete the card and tell the user this checkout can't be paid with a link virtual card. lowering the amount breaks the confirmed purchase, and only the virtual card is ruled out. - stale wording on the wallets overview (
overview.mdx:8,:52): both still say link only issues single-use cards, which contradicts the updated table on the same page.
nits (optional):
browser_unavailablealso covers a busy browser (another fill holds it) and deleted, unleased or other-project browsers.- "connected parent wallet" (
:523) only applies to pay token fills, not link virtual cards. :567: there's also a merchant check after the token is fetched, so "nothing is passed to the page" is safer than "before any token is retrieved".- the TypeScript authorize example doesn't type-check on SDK 0.126.0 (pre-existing): the operation response union includes the fill result, so narrow on
type === "card".
|
Addressed in
Nits, all done: Also since your review: |
Summary
Link cards now authorize at the checkout page:
authorizetakesbrowser_idandpage_url, and KERNEL inspects the checkout to deliver either a merchant-bound Link Pay Token (supported Stripe checkouts) or a virtual card. These pages still described the previous flow.browser_id/page_url; new sections compare Link Pay Tokens and virtual cards and list authorization errors with recovery steps; fill is split into a Link Pay Token fill (nofields) and a virtual card fill; amount limits are 500000 overall and 50000 for a virtual card; card updates work until the card is authorized at a checkout, then return 409.--browser-id/--page-url, and follow the advertised fill description.Replaces #630, which documented an earlier design.
Validation
mint broken-links: no broken links.mint dev: all five edited pages render.