---
title: "Create a payment setup session for inline card collection."
method: POST
path: "/manage/api/payment"
tags: ["manage"]
---

# Create a payment setup session for inline card collection.

`POST /manage/api/payment`

Returns a client_secret for the org's payment customer so the inline payment
modal can save a card without leaving the app.

Soft-deprecated: the inline Elements flow was removed in the Stripe.js
eager-bundle incident (2026-05-20). New clients should use the
stripe_payment_setup_url field on ManageApiStripeSubscriptionResponse, which
returns a hosted Stripe Checkout URL instead. This endpoint will be formally
deprecated and then removed once no callers reference it.

## Query parameters

- `organization_id` string, required

## Response `200`

client_secret for inline card collection.

- ManageApiPaymentResponse
  - `client_secret` string, required — client_secret to be passed to the inline payment Elements on the client. Soft-deprecated — new clients use stripe_payment_setup_url on ManageApiStripeSubscriptionResponse for the hosted Checkout flow.

## Other responses

- `401` — Not authorized
- `403` — Not authorized

---

[API](https://skmtc.net/ideogram/apis/ideogram-openapi-3-0.md) · [All operations](https://skmtc.net/ideogram/apis/ideogram-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ideogram/ideogram-openapi-3-0/revisions/b560c0ad0618/schema)
