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 \
  --header 'Authorization: <authorization>'
{
  "setup_intent_id": "<string>",
  "client_secret": "<string>",
  "customer_id": "<string>"
}

Headers

Authorization
string
required

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

Response

Successful Response

Response after creating a SetupIntent.

setup_intent_id
string
required

Stripe SetupIntent ID

client_secret
string
required

Client secret for Stripe Elements

customer_id
string
required

Stripe Customer ID