Skip to main content
POST
Start adding a payment method

Authorizations

Authorization
string
header
required

A personal access token (POST /v1/auth/tokens) or a machine identity token (POST /v1/projects/{project_id}/identities/{identity_id}/tokens), both prefixed qumo_pat_. A token's scopes cap what it can do; see Scopes and permissions. A personal token names no organization: on a route whose path names no project or organization, pass ?organization_id=.

Path Parameters

id
string<uuid>
required

The organization ID.

Response

The SetupIntent was created.

client_secret
string
required

The SetupIntent's client secret, for confirming the card with Stripe's Payment Element.

Example:

"seti_1QxRAcLkdIwHu7ixW9fGh2Jk_secret_RqT5uV7wX9yZ1aB3cD5eF7gH9iJ1kL3"

publishable_key
string

The Stripe publishable key to initialise Stripe.js with; omitted when not configured.

Example:

"pk_live_51QxR7aLkdIwHu7ixAbCdEfGhIjKlMnOp"