Uh oh!
There was an error while loading. Please reload this page.
158910 :: docs: AutoPay developer section - #167
Merged
Conversation
New page at /developers/payments/autopay/ following the M-Wallet shape and the section order mandated by docs/developers/CLAUDE.md. - AutoPayFlowDiagram.tsx — inline theme-aware SVG, matching WalletFlowDiagram and RecurringFlow; not Mermaid - payments/index.md — AutoPay card and Choose Your Path row - glossary-terms.ts — subscription, billing cycle, dunning - recurring-payments.mdx — reverse half of the deconfliction cross-link, so a reader who lands on auto_debit expecting subscriptions is redirected ## API Reference is intentionally a placeholder: core_backend PR 121 has not merged, so the public OpenAPI schema serves no AutoPay endpoints and <ApiDocEmbed> cannot resolve. The six endpoints are documented as prose and cURL under ## Guide instead. Known open item: the endpoint samples use AutoPay's own root-mounted paths (/subscriptions/...). Merchants reach these through a Connect proxy whose public path is in PR 121 and is not yet confirmed. Pending Yamen. Refs #158910 #158909
3 tasks
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 freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Redmine #158910 · epic #158909
Adds the AutoPay developer documentation at
/developers/payments/autopay/, following the M-Wallet section and the order mandated bydocs/developers/CLAUDE.md.What changed
docs/developers/payments/autopay/index.mdxsrc/diagrams/AutoPayFlowDiagram.tsxWalletFlowDiagram/RecurringFlow. Not Mermaiddocs/developers/payments/index.mdsrc/data/glossary-terms.tsdocs/developers/cards-and-tokens/recurring-payments.mdxsidebars.tsis untouched — both AutoPay sidebar blocks landed in the scaffold commit on the epic branch so this lane and the business lane share zero files.The deconfliction (R5) is the highest-value edit
recurring-payments.mdxalready documentspayment_type=auto_debitand is the closest analog, so readers land on the wrong page. Both pages now cross-link with an explicit "use this when":Three facts documented that appear in no ticket
Found while verifying against
autopay/subscriptions/api.pyand a live betabulk call:autopayrequest block is write-only — not echoed in the 201.extra.autopay.subscription_idis the merchant's only handle.customer_emailis required. Omitting it makes AutoPay's internal schema 422 at bind time, which Connect surfaces as400 {"autopay":["AutoPayClient rejected request (422)"]}— reads like an agreement-shape error and is not.page-linkdoes not rotate the token;regenerate-page-tokenrevokes. A merchant reaching for regenerate when they meant re-send silently breaks the customer's working link, with no notification to that customer.Blocked, deliberately
## API Referenceis a placeholder.core_backendPR 121 has not merged, so the public OpenAPI schema serves zero AutoPay endpoints (static/Ottu_API.yamlhas noautopayoccurrence) and<ApiDocEmbed>cannot resolve. The six endpoints are documented as prose and cURL under## Guideinstead. No embed was fabricated.The endpoint samples use AutoPay's own root-mounted paths (
/subscriptions/...). Those are correct for the service itself, but merchants reach it through a Connect proxy whose public path lives in PR 121 and is not confirmed. @yamen — what is the merchant-facing base path?Test plan
npm run typecheckpassesnpm run buildpasses on the epic base; no new broken-anchor warning naming an AutoPay path#when-to-use,#guide,#api-reference,#best-practices,#faqall resolve to real headingsOTTU_CONNECT_BASE_URL+<CodeBlock>throughoutDo not merge — review first.