Ad Campaign Payment Failed
Sent when an ad campaign's payment fails and its ads stop delivering. The payload carries no performance stats. Read the campaign for those
Required permissions:
- webhook_receive:ad_campaigns
Headers
A unique identifier for this webhook request
The signature of the webhook request with the webhook version prepended
The timestamp in seconds since the Unix epoch that the webhook was sent at on the server
Payload
The account ID that this webhook event is associated with
The API version for this webhook
The dated API version (Api-Version-Date) the payload is serialized to
A unique ID for every single webhook request
For some .updated events, the old values of the payload fields that changed, keyed by field name. Omitted when no capture is available for the event
The timestamp in ISO 8601 format that the webhook was sent at on the server
The webhook event type
Example payload
{
"account_id": "biz_xxxxxxxxxxxxxx",
"api_version": "v1",
"api_version_date": "2026-07-20",
"data": {
"account": {
"id": "biz_xxxxxxxxxxxxxx",
"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"route": "shine-time-auto-detailing",
"title": "Shine Time Auto Detailing"
},
"budget_amount": 50,
"budget_amount_local": 50,
"budget_currency": "usd",
"budget_optimization": "ad_group",
"budget_type": "daily",
"campaign_type": "standard",
"created_at": "2026-01-01T12:00:00.000Z",
"delivery_status": "learning",
"desired_cost_per_result": 4.5,
"ends_at": "2026-01-01T12:00:00.000Z",
"id": "adcamp_xxxxxxxxxxxxxx",
"issues": [
{
"category": "error",
"id": "adiss_xxxxxxxxxxxxxx",
"message": "Your ad didn't pass our content review. Update it to follow our ad guidelines and resubmit.",
"resource_id": "ad_xxxxxxxxxxxxxx",
"resource_type": "ad",
"title": "Ad issue"
}
],
"objective": "sales",
"special_ad_categories": [
"employment"
],
"starts_at": "2026-01-01T12:00:00.000Z",
"status": "active",
"title": "Spring launch",
"updated_at": "2026-01-01T12:00:00.000Z"
},
"id": "msg_xxxxxxxxxxxxxxxxxxxxxxxx",
"timestamp": "2025-01-01T00:00:00.000Z",
"type": "ad_campaign.payment_failed"
}Response
Return a 200 status to indicate that the data was received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.