Skip to main content
POST
/
v1
/
organizations
/
billing
/
setup-payment-method
Setup Payment Method
curl --request POST \
  --url https://api.mixpeek.com/v1/organizations/billing/setup-payment-method
{
  "setup_intent_id": "<string>",
  "client_secret": "<string>",
  "customer_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

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"