---
title: "Create Elements Checkout"
method: POST
path: "/api/payment/create-elements-checkout"
---

# Create Elements Checkout

`POST /api/payment/create-elements-checkout`

Create a SetupIntent for Payment Element flow.

## Request body

- ElementsCheckoutRequest
  - `device_id` string, required
  - `utm_source` string
  - `utm_medium` string
  - `utm_campaign` string
  - `ref_code` string
  - `fbp` string
  - `fbc` string
  - `fbclid` string
  - `rdt_cid` string
  - `auto_recharge` boolean
  - `domain` string
  - `preferred_daily_usd` number, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
