Accounts
Update Account Preferences
Updates 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 | company:update |
When updating preferences from multiple rows, all corresponding scopes are required for the account.
patch/accounts/{account_id}/preferences
Headers
Api-Version-Datestring
Example:2026-09-25
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": "7_days",
"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": [
{
"duration": 7,
"duration_unit": "days",
"fee_percentage": 1,
"key": "7_days"
}
],
"subscription_failure_behavior": "cancel"
}