---
title: "SetupIntent for card capture (no immediate charge)"
method: POST
path: "/v1/auth/billing/setup-intent"
tags: ["auth"]
---

# SetupIntent for card capture (no immediate charge)

`POST /v1/auth/billing/setup-intent`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/auth/billing/setup-intent`
- Auth: API key in cookie `hr_session`

Session + CSRF required. Returns the client_secret the console hands to Stripe.js.

## Response `200`

Setup intent

- AuthSetupIntentResult
  - `customer_id` string, required
  - `setup_intent_id` string, required
  - `client_secret` string, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error
- `503`: Provider unavailable

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
