---
title: "Create Setup Intent"
method: POST
path: "/api/billing/setup-intent"
tags: ["Billing"]
---

# Create Setup Intent

`POST /api/billing/setup-intent`

## Request

- Base URL: `https://api.soeru.biz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.soeru.biz/api/billing/setup-intent`
- Auth: none declared. Required headers: `authorization`

Return a SetupIntent client_secret for Stripe Elements card collection.

## Headers

- `authorization` string, required: Bearer <token>

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/soeru/apis/soeru-api.md) · [All operations](https://skmtc.dev/soeru/apis/soeru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soeru/apis/soeru-api/revisions/63f8d371abed?raw)
