---
title: "Create Intent For New Card"
method: POST
path: "/api/v1/payments/subscriptions/pro/create-intent-for-new-card"
tags: ["Subscriptions"]
---

# Create Intent For New Card

`POST /api/v1/payments/subscriptions/pro/create-intent-for-new-card`

Create SetupIntent for new card subscription

## Query parameters

- `org` string, nullable

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Response `200`

Successful Response

- CreateIntentForNewCardResponse — Response for creating intent for new card.
  - `subscription_id` string, nullable
  - `payment_intent_client_secret` string, nullable
  - `publishable_key` string, required
  - `customer_id` string, nullable
  - `price_id` string, nullable
  - `requires_setup` boolean

## 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)
