> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Webhook

> HTTP POST를 통해 회사의 이벤트 알림을 수신하는 웹훅 엔드포인트입니다.

> [!NOTE]
>
> 이 리소스에는 새 통합의 기반이 되어야 하는 버전 관리형 API인 [Whop API](https://docs.whop.com/ko/api-reference/legacy/webhooks/list-webhooks.md)의 후속 리소스가 있습니다. 이 페이지는 계속 완전히 지원됩니다.

```json Example theme={null}
{
	"api_version": "v1",
	"api_version_date": "<string>",
	"child_resource_events": true,
	"created_at": "2023-12-01T05:00:00.401Z",
	"enabled": true,
	"events": ["account.updated"],
	"id": "hook_xxxxxxxxxxxxx",
	"resource_id": "<string>",
	"testable_events": ["account.updated"],
	"url": "https://example.com/path",
	"webhook_secret": "whsec_abc123def456"
}
```

**api\_version** `ApiVersion` *required*

이 웹훅 엔드포인트로 전송되는 페이로드의 형식을 지정하는 데 사용되는 API 버전입니다.

사용 가능한 옵션: `v1`, `v2`, `v5`

**api\_version\_date** `string | null` *required*

이 엔드포인트의 v1 페이로드가 고정된 날짜 기반 API 버전(Api-Version-Date)입니다. 이벤트는 이 버전에서의 REST 읽기와 정확히 동일하게 직렬화됩니다(리소스에 네이티브 직렬화기가 있는 경우 해당 직렬화기 사용). 고정되지 않은 경우 Null입니다. 레거시(v2/v5) 웹훅 및 레거시 페이로드 형태의 v1 웹훅이 이에 해당합니다.

**child\_resource\_events** `boolean` *required*

하위 리소스에 대한 이벤트를 전송하는지 여부입니다. 예를 들어 웹훅이 회사에 설정된 경우, 이 옵션을 활성화하면 회사의 하위 판매자(하위 회사)에서 발생한 이벤트만 전송합니다.

**created\_at** `string\<date-time\>` *required*

웹훅이 생성된 일시입니다.

예시: `2023-12-01T05:00:00.401Z`

**enabled** `boolean` *required*

이 웹훅 엔드포인트가 현재 활성 상태이며 이벤트를 수신하고 있는지 여부입니다.

**events** `array\<WebhookEvent\>` *required*

이 웹훅이 구독하는 이벤트 유형 목록입니다.

사용 가능한 옵션: `account.updated`, `account.financing_approved`, `account.financing_denied`, `account.financing_disabled`, `invoice.created`, `invoice.marked_uncollectible`, `invoice.paid`, `invoice.past_due`, `invoice.voided`, `membership.activated`, `membership.deactivated`, `membership.trial_ending_soon`, `membership.updated`, `entry.created`, `entry.approved`, `entry.denied`, `entry.deleted`, `export.completed`, `export.failed`, `setup_intent.requires_action`, `setup_intent.succeeded`, `setup_intent.canceled`, `ledger_account.funds_available`, `swap.completed`, `deposit.succeeded`, `financial_activity.funds_available`, `transfer.created`, `transfer.completed`, `transfer.failed`, `withdrawal.created`, `withdrawal.updated`, `withdrawal.reversed`, `payout.created`, `payout.updated`, `payout.reversed`, `card_transaction.created`, `card_transaction.updated`, `card_transaction.completed`, `card_transaction.declined`, `card_transaction.reversed`, `card.created`, `card.updated`, `card.frozen`, `card.canceled`, `card_application.created`, `card_application.updated`, `card_application.approved`, `card_application.denied`, `course_lesson_interaction.completed`, `domain.created`, `domain.updated`, `domain.deleted`, `capital.created`, `capital.updated`, `payout_method.created`, `verification.succeeded`, `identity_profile.approved`, `identity_profile.rejected`, `identity_profile.needs_action`, `identity_profile.updated`, `payout_account.status_updated`, `payment.authorized`, `payment.canceled`, `resolution_center_case.created`, `resolution_center_case.updated`, `resolution_center_case.decided`, `product.created`, `product.updated`, `product.deleted`, `product.published`, `product.unpublished`, `plan.created`, `plan.updated`, `plan.deleted`, `shipment.created`, `shipment.updated`, `member.created`, `member.updated`, `ad_campaign.created`, `ad_campaign.payment_failed`, `ad_campaign.updated`, `ad_campaign.events`, `ad_campaign.deleted`, `ad_group.created`, `ad_group.updated`, `ad_group.deleted`, `ad.created`, `ad.updated`, `ad.deleted`, `app_installation.created`, `app_installation.deleted`, `events.created`, `chat.message.created`, `chat.reaction.created`, `payment.created`, `payment.succeeded`, `payment.failed`, `payment.pending`, `payment.requires_action`, `dispute.created`, `dispute.updated`, `refund.created`, `refund.updated`, `dispute_alert.created`, `membership.cancel_at_period_end_changed`, `shipping_address.changed`

**id** `string` *required*

웹훅의 고유 식별자입니다.

예시: `hook_xxxxxxxxxxxxx`

**resource\_id** `string` *required*

이 웹훅이 연결된 리소스(회사 또는 상품)의 ID입니다.

**testable\_events** `array\<WebhookEvent\>` *required*

구독한 이벤트 유형 중 테스트 페이로드 전송을 지원하는 하위 집합입니다.

사용 가능한 옵션: `account.updated`, `account.financing_approved`, `account.financing_denied`, `account.financing_disabled`, `invoice.created`, `invoice.marked_uncollectible`, `invoice.paid`, `invoice.past_due`, `invoice.voided`, `membership.activated`, `membership.deactivated`, `membership.trial_ending_soon`, `membership.updated`, `entry.created`, `entry.approved`, `entry.denied`, `entry.deleted`, `export.completed`, `export.failed`, `setup_intent.requires_action`, `setup_intent.succeeded`, `setup_intent.canceled`, `ledger_account.funds_available`, `swap.completed`, `deposit.succeeded`, `financial_activity.funds_available`, `transfer.created`, `transfer.completed`, `transfer.failed`, `withdrawal.created`, `withdrawal.updated`, `withdrawal.reversed`, `payout.created`, `payout.updated`, `payout.reversed`, `card_transaction.created`, `card_transaction.updated`, `card_transaction.completed`, `card_transaction.declined`, `card_transaction.reversed`, `card.created`, `card.updated`, `card.frozen`, `card.canceled`, `card_application.created`, `card_application.updated`, `card_application.approved`, `card_application.denied`, `course_lesson_interaction.completed`, `domain.created`, `domain.updated`, `domain.deleted`, `capital.created`, `capital.updated`, `payout_method.created`, `verification.succeeded`, `identity_profile.approved`, `identity_profile.rejected`, `identity_profile.needs_action`, `identity_profile.updated`, `payout_account.status_updated`, `payment.authorized`, `payment.canceled`, `resolution_center_case.created`, `resolution_center_case.updated`, `resolution_center_case.decided`, `product.created`, `product.updated`, `product.deleted`, `product.published`, `product.unpublished`, `plan.created`, `plan.updated`, `plan.deleted`, `shipment.created`, `shipment.updated`, `member.created`, `member.updated`, `ad_campaign.created`, `ad_campaign.payment_failed`, `ad_campaign.updated`, `ad_campaign.events`, `ad_campaign.deleted`, `ad_group.created`, `ad_group.updated`, `ad_group.deleted`, `ad.created`, `ad.updated`, `ad.deleted`, `app_installation.created`, `app_installation.deleted`, `events.created`, `chat.message.created`, `chat.reaction.created`, `payment.created`, `payment.succeeded`, `payment.failed`, `payment.pending`, `payment.requires_action`, `dispute.created`, `dispute.updated`, `refund.created`, `refund.updated`, `dispute_alert.created`, `membership.cancel_at_period_end_changed`, `shipping_address.changed`

**url** `string` *required*

웹훅 페이로드가 HTTP POST로 전달되는 대상 URL입니다.

예시: `https://example.com/path`

**webhook\_secret** `string` *required*

인증을 위해 웹훅 페이로드에 서명하는 데 사용되는 비밀 키입니다. HMAC 검증 로직에 포함하세요. 생성 응답과 대화형 대시보드 세션에서 반환되며, 이후 읽기에서 API 키 및 OAuth 호출자에게는 빈 값으로 반환됩니다.

예시: `whsec_abc123def456`


## Related topics

- [Webhooks API](https://docs.whop.com/ko/api-reference/webhooks/webhook.md)
- [Delete Webhook](https://docs.whop.com/ko/api-reference/webhooks/delete-webhook.md)
- [Update webhook](https://docs.whop.com/ko/api-reference/legacy/webhooks/update-webhook.md)
