Skip to content

WithWebhookInboxOptions — @gj-kit/toss-payments-postgresql

A public interface from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.

import { WithWebhookInboxOptions } from '@gj-kit/toss-payments-postgresql';
interface WithWebhookInboxOptions {
/**
* record 실패 통지(기본 동작: 삼킴). 이벤트 본문 대신 meta만 전달한다 —
* 통지 콜백이 로그로 흘러도 이벤트 payload가 함께 새지 않게. 이 콜백의 throw도 삼켜진다.
*/
readonly onRecordError?: (cause: unknown, meta: WebhookMeta) => void;
/** true면 record 실패를 그대로 throw — 어댑터 500 → 토스 재전송. 기본 false. */
readonly failOnRecordError?: boolean;
}

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-postgresql
  • Version: 0.5.1
  • Public entry: .
  • Source: GitHub