docs: add split payments documentation#480
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8a071398ff
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
src/pages/guides/split-payments.mdx
Outdated
| Add a `splits` array to any `mppx.charge` call. Each entry specifies a `recipient` and `amount`. | ||
|
|
||
| ```ts twoslash | ||
| // @noErrors |
There was a problem hiding this comment.
Enforce twoslash type-checking in split guide
/workspace/mpp/AGENTS.md requires that twoslash snippets never use // @noErrors, but this new page adds that suppression (and repeats it in later snippets), which disables the docs safety check for the new split-payment examples. Because these blocks include placeholder values like 0xSELLER/0xPLATFORM, regressions in mppx.charge({ splits: ... }) can slip through without being caught by type checks.
Useful? React with 👍 / 👎.
8a07139 to
87caf09
Compare
- New guide at /guides/split-payments covering marketplaces, rev-share, referral fees - Add 'With split payments' section to /payment-methods/tempo/charge - Add splits request parameter to server Method.tempo.charge reference - Add expectedRecipients parameter to client Method.tempo.charge reference - Add sidebar entry for split payments guide - Pin mppx to PR #231 SHA for split payment types
87caf09 to
f7880e4
Compare
Adds documentation for the split payments feature from mppx PR #231.