> ## 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.

# Create Setup Intent

Creates a Stripe Setup Intent for adding a new payment method. Returns a client secret for use with Stripe.js. Requires a verified email and is rate limited to 30 requests per minute.

<ParamField path="team" type="string" required>
  The UUID of the team.
</ParamField>

## Response

<ResponseField name="client_secret" type="string">
  The Stripe Setup Intent client secret for use with Stripe.js.
</ResponseField>

<ResponseField name="billing_defaults" type="object">
  Default billing information to pre-fill in the payment form.

  <Expandable title="billing_defaults properties">
    <ResponseField name="name" type="string">
      The company name, or `null` if not set.
    </ResponseField>

    <ResponseField name="email" type="string">
      The billing email address, or `null` if not set.
    </ResponseField>

    <ResponseField name="address" type="object">
      The billing address defaults.

      <Expandable title="address properties">
        <ResponseField name="country" type="string">
          Two-letter ISO country code.
        </ResponseField>

        <ResponseField name="line1" type="string">
          Street address line.
        </ResponseField>

        <ResponseField name="postal_code" type="string">
          Postal or ZIP code.
        </ResponseField>

        <ResponseField name="city" type="string">
          City name.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>
