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

# 웹훅 이벤트 

> 스텝페이가 제공하는 웹훅 이벤트 목록과 각 이벤트별 이벤트 타입 및 스키마 정보

스텝페이가 제공하고 있는 웹훅 이벤트 목록입니다. 도메인 별로 구분되며, 각 이벤트 별로 이벤트 타입과 스키마가 결정됩니다. 스키마는 수신받게 될 object 내에 `data` 프로퍼티와 매칭됩니다.

## Events

### 주문

| 이벤트      | 이벤트 타입                   | Schema                                     |
| -------- | ------------------------ | ------------------------------------------ |
| 주문 생성    | order.created            | [Order](/docs/08-1-2_Webhook-Schema#order) |
| 주문 변경    | order.updated            | [Order](/docs/08-1-2_Webhook-Schema#order) |
| 주문 결제 성공 | order.payment\_completed | [Order](/docs/08-1-2_Webhook-Schema#order) |

### 구독

| 이벤트      | 이벤트 타입                                  | Schema                                                   |
| -------- | --------------------------------------- | -------------------------------------------------------- |
| 구독 생성    | subscription.created                    | [Subscription](/docs/08-1-2_Webhook-Schema#subscription) |
| 구독 변경    | subscription.updated                    | [Subscription](/docs/08-1-2_Webhook-Schema#subscription) |
| 결제 예정 알림 | subscription.payment\_due\_notification | [Subscription](/docs/08-1-2_Webhook-Schema#subscription) |
| 사용량 추가   | subscription.usage.added                | [Usage](/docs/08-1-2_Webhook-Schema#usage)               |

### 청구서

| 이벤트    | 이벤트 타입          | Schema                                         |
| ------ | --------------- | ---------------------------------------------- |
| 청구서 생성 | invoice.created | [Invoice](/docs/08-1-2_Webhook-Schema#invoice) |
| 청구서 변경 | invoice.updated | [Invoice](/docs/08-1-2_Webhook-Schema#invoice) |
| 청구서 삭제 | invoice.deleted | [Invoice](/docs/08-1-2_Webhook-Schema#invoice) |

### 결제

| 이벤트   | 이벤트 타입            | Schema                                         |
| ----- | ----------------- | ---------------------------------------------- |
| 결제 성공 | payment.completed | [Payment](/docs/08-1-2_Webhook-Schema#payment) |
| 결제 실패 | payment.failed    | [Payment](/docs/08-1-2_Webhook-Schema#payment) |
| 결제 취소 | payment.canceled  | [Payment](/docs/08-1-2_Webhook-Schema#payment) |
| 결제 대기 | payment.standby   | [Payment](/docs/08-1-2_Webhook-Schema#payment) |

### 회원

| 이벤트      | 이벤트 타입           | Schema                                           |
| :------- | :--------------- | :----------------------------------------------- |
| 회원 생성    | customer.created | [Customer](/docs/08-1-2_Webhook-Schema#customer) |
| 회원 정보 변경 | customer.updated | [Customer](/docs/08-1-2_Webhook-Schema#customer) |
| 회원 삭제    | customer.deleted | [Customer](/docs/08-1-2_Webhook-Schema#customer) |

### 상품

| 이벤트      | 이벤트 타입                | Schema                                         |
| :------- | :-------------------- | :--------------------------------------------- |
| 상품 생성    | product.created       | [Product](/docs/08-1-2_Webhook-Schema#product) |
| 상품 수정    | product.updated       | [Product](/docs/08-1-2_Webhook-Schema#product) |
| 상품 삭제    | product.deleted       | [Product](/docs/08-1-2_Webhook-Schema#product) |
| 가격 플랜 생성 | product.price.created | [Price](/docs/08-1-2_Webhook-Schema#price)     |
| 가격 플랜 수정 | product.price.updated | [Price](/docs/08-1-2_Webhook-Schema#price)     |
| 가격 플랜 삭제 | product.price.deleted | [Price](/docs/08-1-2_Webhook-Schema#price)     |

### 애드온:스텝커버

| 이벤트          | 이벤트 타입                       | Schema                                      |
| :----------- | :--------------------------- | :------------------------------------------ |
| 커버 알림 발송     | cover.sent\_message          | [Cover](/docs/08-1-2_Webhook-Schema#cover) |
| 커버 알림 나중에 받기 | cover.delayed\_message       | [Cover](/docs/08-1-2_Webhook-Schema#cover) |
| 커버 결제일 변경    | cover.changed\_payment\_date | [Cover](/docs/08-1-2_Webhook-Schema#cover) |
| 커버 만기        | cover.paused                 | [Cover](/docs/08-1-2_Webhook-Schema#cover) |
