---
title: "Create Setup Intent"
method: POST
path: "/api/v1/payments/setup-intent"
tags: ["Payment"]
---

# Create Setup Intent

`POST /api/v1/payments/setup-intent`

Create a SetupIntent for saving a payment method

## Query parameters

- `org` string, nullable

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Response `200`

Successful Response

- SetupIntentResponse — Response for setup intent creation.
  - `client_secret` string, required
  - `id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/modaic-ai/apis/modaic-api.md) · [All operations](https://skmtc.net/modaic-ai/apis/modaic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modaic-ai/modaic-api/revisions/43a90513ac59/schema)
