Plans
Update Plan
Changed onDeprecated compatibility endpoint. Update variants with PATCH /variants/{id} instead.
patch/plans/{id}
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/plans/{id}
- Auth: HTTP bearer
Request body
Example request
{
"custom_fields": [
{
"field_type": "text"
}
],
"payment_method_configuration": {
"disabled": [
"acss_debit"
],
"enabled": [
"acss_debit"
]
},
"release_method": "buy_now",
"three_ds_level": "mandate_challenge",
"title": "Deprecated plan creation"
}Response
variant updated through the deprecated plans path
Example response
{
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"title": "Shine Time Auto Detailing"
},
"adaptive_pricing_enabled": true,
"billing_period": 30,
"collect_tax": true,
"created_at": "2026-01-01T12:00:00.000Z",
"currency": "usd",
"custom_fields": [
{
"field_type": "text",
"id": "field_xxxxxxxxxxxxxx",
"name": "Vehicle make and model",
"placeholder": "2021 Audi S5",
"required": true
}
],
"deletable": true,
"effective_payment_method_configuration": {
"disabled": [
"card"
],
"enabled": [
"card"
],
"include_platform_defaults": true
},
"formatted_price": "$59.00 / month",
"id": "plan_xxxxxxxxxxxxxx",
"initial_price_due": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"internal_notes": "Maintenance tier. Upsell the interior shampoo add-on at renewal.",
"metadata": {
"custom_cta": "subscribe",
"custom_cta_url": "https://shinetime.example/wash-club"
},
"plan_type": "renewal",
"product": {
"id": "prod_xxxxxxxxxxxxxx",
"title": "Ceramic Coating Package"
},
"purchase_url": "https://whop.com/checkout/plan_xxxxxxxxxxxxxx",
"release_method": "buy_now",
"renewal_price": 59,
"tax_type": "exclusive",
"three_ds_level": "mandate_challenge",
"title": "Deprecated plan update",
"updated_at": "2026-01-01T12:00:00.000Z",
"visibility": "visible"
}Changes
- info
added the new
payto_bank_accountenum value to the request property// - info
added the new
payto_bank_accountenum value to the request property// - info
added the new
payto_emailenum value to the request property// - info
added the new
payto_emailenum value to the request property// - info
added the new
payto_phoneenum value to the request property// - info
added the new
payto_phoneenum value to the request property//
- info
- info
added the new
duitnow_qrenum value to the request property// - info
added the new
duitnow_qrenum value to the request property//
- info