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_payments

Endpoint

POST https://dispatch.nshipyard.com/api/mcp

Call it with method tools/call and name dispatch_setup_payments.

Parameters

NameTypeRequiredDescription
publicationIdstringRequiredPublication id

Returns

account_id string
The Stripe Connect account id.
onboarding_url string
The link to show the operator. They finish verification in Stripe.
next string
What to do after: poll dispatch_payments_status, then call dispatch_set_plans.

Errors

ErrorWhen it happensFix
Not authorized for this publicationThe 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 instanceThe platform has no Stripe keys set up.The Dispatch operator needs to configure Stripe before paid subscriptions can start.

Related

Reference generated from web/lib/mcp.ts. If this page and your agent disagree, the code wins.

All tools