Skip to main content
POST
Confirm 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.

Body

application/json

Payment method confirmation

payment_method_id
string
required

Stripe PaymentMethod ID from frontend

Example:

"pm_1ABC2DEF3GHI456"

Response

Successful Response

Response after confirming payment method.

payment_method
PaymentMethodInfo · object
required

Confirmed payment method details

auto_billing_enabled
boolean
required

Whether auto-billing is now enabled

billing_period_start
string<date-time>
required

When the current billing period started

success
boolean
default:true

Whether payment method was successfully confirmed