Publication keyGenerated from lib/mcp.ts
dispatch_setup_payments
Starts paid subscriptions for a publication. It returns a Stripe onboarding link: the operator completes Stripe's checks once, inside Stripe.
Start paid subscriptions for a publication via Stripe Connect. Returns an onboarding URL: the human operator completes Stripe's verification once (identity/KYC inside Stripe, nothing sensitive passes through here). Afterwards poll dispatch_payments_status, then call dispatch_set_plans. Dispatch takes a 10% platform fee on each subscription, Substack-style.
- Use it when: When a publication is ready to charge readers.
- Don't use it when: Do not use it to set prices. That is dispatch_set_plans, after onboarding is done.
Link and endpoint
Page link
https://dispatch.nshipyard.com/support/mcp/dispatch_setup_paymentsEndpoint
POST https://dispatch.nshipyard.com/api/mcpCall it with method tools/call and name dispatch_setup_payments.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
publicationId | string | Required | Publication id |
Returns
account_idstring- The Stripe Connect account id.
onboarding_urlstring- The link to show the operator. They finish verification in Stripe.
nextstring- What to do after: poll dispatch_payments_status, then call dispatch_set_plans.
Errors
| Error | When it happens | Fix |
|---|---|---|
Not authorized for this publication | The key belongs to a different publication. | Use the publication key shown on that publication's Overview page, or the master key. |
Stripe is not configured on this Dispatch instance | The platform has no Stripe keys set up. | The Dispatch operator needs to configure Stripe before paid subscriptions can start. |
Related
dispatch_payments_status→dispatch_set_plans→- Help article →
- Open the publication overview (Payments panel) →
Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.