UnknownWebhookEvent — @gj-kit/toss-payments
A public interface from @gj-kit/toss-payments/webhook. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { UnknownWebhookEvent } from '@gj-kit/toss-payments/webhook';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** 전방 호환 래퍼 — 새 이벤트·알 수 없는 구조가 와도 verify는 깨지지 않는다. */interface UnknownWebhookEvent { readonly envelope: 'legacy' | 'v2' | 'flat'; readonly eventType: 'UNKNOWN'; /** 원문의 eventType 문자열 — 구조상 존재하지 않았으면 빈 문자열. */ readonly rawEventType: string; readonly createdAt: string | null; readonly raw: unknown;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments - Version:
0.6.1 - Public entry:
./webhook - Source: GitHub