웹훅 연동으로 할 수 있는 일
모든 스토어를 하나의 웹훅 핸들러로 처리
앱 스토어와 웹 결제에서 발생한 구매, 갱신, 환불을 같은 형식으로 처리합니다.
앱 액세스 상태 동기화
access_level_updated이벤트로 백엔드에서 프리미엄 액세스를 부여, 연장 또는 회수합니다.자체 워크플로 실행
백엔드에서 구매 후 계정에 크레딧을 지급하거나, 결제 실패 시 지원 티켓을 생성하거나, 이벤트를 CRM으로 전달합니다.
모든 스토어를 아우르는 하나의 이벤트 스트림
앱 스토어와 웹의 구매, 갱신, 환불을 같은 형식으로 받습니다.
백엔드에서 액세스를 동기화하려면 access_level_updated 이벤트 하나만 처리하면 됩니다.
이 사용자는 12월 11일까지 Premium을 이용할 수 있습니다. expires_at 값을 업데이트하고, 그 시점이 되면 이 값을 기준으로 액세스를 종료합니다.
{
"event_type": "access_level_updated",
"event_datetime": "2026-11-11T13:04:24.000000+0000",
"customer_user_id": "user_8f21c4",
"event_properties": {
"access_level_id": "premium",
"is_active": true,
"will_renew": true,
"is_in_grace_period": false,
"vendor_product_id": "premium_monthly",
"expires_at": "2026-12-11T13:04:24.000000+0000"
}
}어떤 페이월과 캠페인으로 구독자를 확보했는지 확인합니다. price_usd는 결제 금액을, proceeds_usd는 스토어 수수료를 제외한 금액을 보여 줍니다. 캠페인 데이터는 어트리뷰션이 활성화된 경우에 포함됩니다.
{
"event_type": "subscription_started",
"event_datetime": "2026-11-11T13:04:24.000000+0000",
"customer_user_id": "user_8f21c4",
"attributions": {
"appsflyer": {
"channel": "Facebook Ads",
"campaign": "strength_training_us"
}
},
"event_properties": {
"store": "app_store",
"vendor_product_id": "premium_monthly",
"paywall_name": "Onboarding paywall",
"price_usd": 9.99,
"proceeds_usd": 6.993,
"subscription_expires_at": "2026-12-11T13:04:24.000000+0000"
}
}이번 결제가 고객의 13번째 연속 결제이며 총 매출이 $129.87에 도달했음을 확인합니다. 이 예시에서는 갱신에 더 낮은 스토어 수수료가 적용됩니다.
{
"event_type": "subscription_renewed",
"event_datetime": "2026-11-11T21:04:23.000000+0000",
"customer_user_id": "user_2b7e90",
"event_properties": {
"store": "app_store",
"vendor_product_id": "premium_monthly",
"price_usd": 9.99,
"proceeds_usd": 8.4915,
"consecutive_payments": 13,
"rate_after_first_year": true,
"profile_total_revenue_usd": 129.87
}
}누가 언제 환불을 받았는지 확인합니다. 환불 금액을 반영해 매출 기록을 조정합니다.
{
"event_type": "subscription_refunded",
"event_datetime": "2026-11-10T09:12:05.000000+0000",
"customer_user_id": "user_5d3a17",
"event_properties": {
"store": "app_store",
"vendor_product_id": "premium_monthly",
"price_usd": -9.99,
"proceeds_usd": -6.993,
"cancellation_reason": "refund",
"subscription_expires_at": "2026-11-10T09:12:05.000000+0000"
}
}일부 필드를 발췌한 페이로드 예시입니다.
웹훅에 보낼 수 있는 이벤트
코드를 작성하지 않고도 Adapty 대시보드에서 이벤트를 전달합니다. 이벤트를 선택하면 어떤 경우에 발생하는지 확인할 수 있습니다.
체험
구독
결제 문제 및 환불
일회성 구매
스토어 및 액세스 이벤트
다른 연동 살펴보기
팀이 이미 사용하는 도구에서 구독 및 구매 데이터를 더 다양하게 활용할 수 있습니다.



