latestOpenAPI 3.1.02026-08-163864115.7 MB
c363cb2feb95
Checkout Configurations
Create a checkout configuration
Creates a reusable checkout configuration for an existing or inline plan.
post/checkout_configurations
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"plan_id": "plan_xxxxxxxxxxxxx"
}Response
checkout configuration created for an existing plan
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"affiliate_code": "tanyacole",
"created_at": "2026-01-01T12:00:00.000Z",
"currency": "usd",
"id": "ch_xxxxxxxxxxxxxx",
"metadata": {
"booking_source": "front_desk"
},
"mode": "setup",
"payment_method_configuration": {
"disabled": [
"paypal"
],
"enabled": [
"card"
],
"include_platform_defaults": true
},
"plan": {
"adaptive_pricing_enabled": true,
"billing_period": 30,
"currency": "usd",
"expiration_days": 365,
"id": "plan_xxxxxxxxxxxxxx",
"plan_type": "renewal",
"release_method": "buy_now",
"renewal_price": 59,
"three_ds_level": "frictionless",
"trial_period_days": 7,
"visibility": "visible"
},
"purchase_url": "https://whop.com/checkout/ch_xxxxxxxxxxxxxx",
"redirect_url": "https://shinetime.example/thanks",
"three_ds_level": "mandate_challenge",
"updated_at": "2026-01-01T12:00:00.000Z"
}