v4

latestOpenAPI 3.0.22026-08-02109239415.7 KB
manage

Create a payment setup session for inline card collection.

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.

post/manage/api/payment

Query parameters

organization_idstring required

Workspace to create the SetupIntent for. The payment method attaches to this org's Stripe customer.

Response

client_secret for inline card collection.

client_secretstring 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.

Example response

{
  "client_secret": "client_secret"
}