WebhookClaimState — @gj-kit/toss-payments
A public type 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 { WebhookClaimState } from '@gj-kit/toss-payments/webhook';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * claim은 원자적이어야 한다 — 조회 후 생성하는 2단계 구현은 TOCTOU 레이스라 금지. * PROCESSING에는 crash-recovery lease를, COMPLETED에는 토스의 최장 재전송 기간보다 긴 * TTL(권장 5일)을 적용한다. */type WebhookClaimState = 'claimed' | 'processing' | 'completed';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