Skip to main content
POST
Create Checkout

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.

Body

application/json

Credit package checkout request

package
string
required

Credit package to purchase: starter, growth, or scale

Examples:

"starter"

"growth"

"scale"

success_url
string | null
default:https://studio.mixpeek.com/billing?checkout=success

Redirect URL after successful payment

cancel_url
string | null
default:https://studio.mixpeek.com/billing?checkout=cancelled

Redirect URL if checkout is cancelled

Response

Successful Response

Response with Stripe Checkout Session URL.

checkout_url
string
required

Stripe-hosted checkout page URL

Example:

"https://checkout.stripe.com/c/pay/cs_live_abc123"

session_id
string
required

Stripe Checkout Session ID

Example:

"cs_live_abc123"