---
title: "Create setup intent"
method: POST
path: "/billing/subscriptions/setupIntent"
tags: ["Billing - Subscription"]
---

# Create setup intent

`POST /billing/subscriptions/setupIntent`

Create a Stripe setup intent for adding payment method

## Response `200`

Successful response

- object
  - `setupIntent` object, required — Payment setup intent details.
    - `clientSecret` string, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/versions/1d5a19e01d83/schema)
