Skip to main content
POST
/
v3
/
teams
/
{team}
/
billing
/
connect
/
account-session
Create Account Session
curl --request POST \
  --url https://app.plugchoice.com/api/v3/teams/{team}/billing/connect/account-session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "components": [
    {}
  ]
}
'
{
  "client_secret": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt

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

Creates a Stripe Account Session for embedded Connect components. The team must have an existing Connect account.
team
string
required
The UUID of the team.
components
array
required
Stripe Connect embedded component names to enable.

Response

client_secret
string
The account session client secret for use with Stripe.js.