Skip to main content
POST
/
integrations
/
stripe
/
connect
Initiate Stripe Connect
curl --request POST \
  --url https://staging-api.puppetvendors.com/integrations/stripe/connect \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "accountType": "<string>",
  "returnUrl": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt

Use this file to discover all available pages before exploring further.

V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Start the Stripe Connect onboarding process. Returns an onboarding URL the vendor should be redirected to.
  • Express account — Creates a new Stripe Express account and returns the onboarding link.
  • Standard account — Returns the Stripe OAuth authorization URL.
Vendor scope required.

Request Body

accountType
string
required
express or standard.
returnUrl
string
required
URL to redirect to after onboarding completes.

Response

200
{
  "success": true,
  "data": {
    "onboardingUrl": "https://connect.stripe.com/setup/e/acct_1234/..."
  }
}

Example

curl -X POST "https://staging-api.puppetvendors.com/integrations/stripe/connect" \
  -H "x-access-token: YOUR_VENDOR_JWT" \
  -H "Content-Type: application/json" \
  -d '{
    "accountType": "express",
    "returnUrl": "https://portal.example.com/settings/integrations?stripe=connected"
  }'