Skip to main content
POST
Setup Payment Method

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

Response

Successful Response

Response after creating a SetupIntent.

setup_intent_id
string
required

Stripe SetupIntent ID

Example:

"seti_1ABC2DEF3GHI"

client_secret
string
required

Client secret for Stripe Elements

Example:

"seti_1ABC2DEF3GHI_secret_XYZ"

customer_id
string
required

Stripe Customer ID

Example:

"cus_ABC123DEF456"