---
title: "Create Setup Intent"
method: POST
path: "/api/funnel/create-setup-intent"
---

# Create Setup Intent

`POST /api/funnel/create-setup-intent`

## Request

- Base URL: `https://api.getle.ad` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getle.ad/api/funnel/create-setup-intent`
- Auth: none declared

Create Stripe Customer + SetupIntent.
Returns client_secret for PaymentElement (card, Apple Pay, Google Pay, Link).

## Request body

- CreateSetupIntentRequest
  - `email` string, nullable
  - `plan` string
  - `billing` string
  - `discount` boolean
  - `trial` boolean
  - `session_id` string, nullable
  - `quiz_session_id` string, nullable
  - `fbc` string, nullable
  - `fbp` string, nullable
  - `twclid` string, nullable
  - `ic_event_id` string, nullable
  - `ab_variant` string, nullable
  - `attribution` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getle/apis/lead-generator-pro-api.md) · [All operations](https://skmtc.dev/getle/apis/lead-generator-pro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getle/apis/lead-generator-pro-api/revisions/041155e6d905?raw)
