Accounts
Update Account Preferences
Changed onUpdates the account's preferences. Each top-level key present in the body is replaced as a whole; omitted keys are left untouched.
Required scopes depend on the preferences being updated:
| Preferences | Required scope |
|---|---|
| ads_payment_methods, ads_reporting_currency, ads_scheduling_timezone, ads_triple_whale_integration, ads_certifications | ad_campaign:create |
| cards_auto_top_up, cards_notifications | payout:account:update |
| dispute_fighter_enabled | payment:dispute |
| economic_intelligence_duration_key, economic_intelligence_auto_renew | company:update |
| feedback_options | company:manage_checkout |
When updating preferences from multiple rows, all corresponding scopes are required for the account.
patch/accounts/{account_id}/preferences
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/accounts/{account_id}/preferences
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Headers
Api-Version-Datestring
Example:2026-10-15
Pins the request to a dated API version.
Request body
Example request
{
"ads_certifications": {
"prescription_drug_ads": {
"status": "pending_information"
}
},
"ads_payment_methods": {
"backup": {
"id": "payt_xxxxxxxxxxxxxx",
"type": "card"
},
"primary": {
"id": "payt_xxxxxxxxxxxxxx",
"type": "platform_balance"
}
},
"ads_reporting_currency": "eur",
"ads_scheduling_timezone": "PST8PDT",
"ads_triple_whale_integration": {
"api_key": "tw_live_key_1234",
"shop_domain": "custom-store.example.com"
},
"cards_auto_top_up": true,
"cards_notifications": true,
"dispute_fighter_enabled": true,
"economic_intelligence_duration_key": "weekly",
"feedback_options": [
{
"category": "unused",
"id": "fo_xxxxxxxxxxxxxx",
"label": "I don't get my car detailed often enough"
}
],
"preferred_settlement_currency": "eur",
"subscription_failure_behavior": "none"
}Response
preferences updated
Example response
{
"ads_agreement": {
"accepted_at": "2026-01-01T12:00:00.000Z",
"agreement_version": "2026-01-01",
"printed_name": "Marcus Webb",
"status": "not_required"
},
"ads_certifications": [
{
"business_type": "online_pharmacy",
"certification_type": "prescription_drug_ads",
"request_id": "inrq_xxxxxxxxxxxxxx",
"status": "not_started"
}
],
"ads_payment_methods": {
"backup": {
"card_brand": "visa",
"exp_month": 10,
"exp_year": 2031,
"icon_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"id": "ldgr_xxxxxxxxxxxxxx",
"last4": "4242",
"title": "Shine Time Auto Detailing",
"type": "platform_balance"
},
"primary": {
"card_brand": "visa",
"exp_month": 10,
"exp_year": 2031,
"icon_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"id": "ldgr_xxxxxxxxxxxxxx",
"last4": "4242",
"title": "Shine Time Auto Detailing",
"type": "platform_balance"
}
},
"ads_reporting_currency": "usd",
"ads_scheduling_timezone": "America/New_York",
"ads_triple_whale_integration": {
"masked_api_key": "tw_live_********",
"shop_domain": "shinetime.myshopify.com",
"status": "requires_shop_domain"
},
"cards_notifications": true,
"economic_intelligence_ends_at": "2026-01-01T12:00:00.000Z",
"economic_intelligence_fee_percentage": 1.5,
"economic_intelligence_offers": [
{
"auto_renew": true,
"duration": 7,
"duration_unit": "days",
"fee_percentage": 1,
"key": "weekly",
"recommended": true
}
],
"feedback_options": [
{
"category": "bad_experience",
"id": "fo_xxxxxxxxxxxxxx",
"label": "The detail missed spots"
}
],
"preferred_settlement_currency": "eur",
"preferred_settlement_currency_changeable_at": "2026-01-01T12:00:00.000Z",
"subscription_failure_behavior": "cancel"
}Changes
- info
the security scope
ad_campaign:createwas added to the endpoint's security schemebearerAuth - info
the security scope
company:updatewas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
ad_campaign:createwas added to the endpoint's security schemebearerAuth - info
the security scope
company:updatewas removed from the endpoint's security schemebearerAuth
- info