Skip to content

WebhookMeta — @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.

import { WebhookMeta } from '@gj-kit/toss-payments/webhook';
/** 모든 웹훅 공통 HTTP 헤더에서 추출한 메타데이터. */
interface WebhookMeta {
/** tosspayments-webhook-transmission-id — 전송 시도 식별자. */
readonly transmissionId: string;
/** tosspayments-webhook-transmission-time — 서명 대상에 포함되는 전송 시각. */
readonly transmissionTime: string;
/** tosspayments-webhook-transmission-retried-count — 누락/비정상이면 0. */
readonly retriedCount: number;
/** 재전송 시도가 바뀌어도 같은 사업 이벤트를 찾는 안정 dedupe 키. */
readonly dedupeKey: string;
}

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.

  • Package: @gj-kit/toss-payments
  • Version: 0.6.1
  • Public entry: ./webhook
  • Source: GitHub