Skip to content

docs: add split payments documentation#480

Merged
brendanjryan merged 1 commit intomainfrom
docs/split-payments
Mar 27, 2026
Merged

docs: add split payments documentation#480
brendanjryan merged 1 commit intomainfrom
docs/split-payments

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

@brendanjryan brendanjryan commented Mar 27, 2026

Adds documentation for the split payments feature from mppx PR #231.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment Mar 27, 2026 8:28pm

Request Review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 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".

Add a `splits` array to any `mppx.charge` call. Each entry specifies a `recipient` and `amount`.

```ts twoslash
// @noErrors
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 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 👍 / 👎.

- 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
@brendanjryan brendanjryan merged commit e75f6a9 into main Mar 27, 2026
8 checks passed
@brendanjryan brendanjryan deleted the docs/split-payments branch March 27, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant