PeumeAPI

Social publishing & inbox

Get Stripe connect URL

Initiates Stripe Connect OAuth for the customer's own Stripe account. only reads its payments. Stripe is a connect-only sales source: each paid charge becomes a `Purchase` event in `GET /v1/events` (source `stripe`), and refunds lower or retract it.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/get-stripe-connect-url \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "redirect_url": "your redirect url",
    "reconnectAccountId": "your reconnectAccountId"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: get-stripe-connect-url.

Parameters

redirect_urlstring

Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as `myapp://callback`; relative and unsafe URLs return 400.

reconnectAccountIdstring

The Stripe connection being reconnected. The callback refuses to write to any other account.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.