Skip to content

NestWebhookHandlerOptions — @gj-kit/toss-payments-nestjs

A public type from @gj-kit/toss-payments-nestjs. The signature below is taken directly from the 0.4.4 release declaration.

import { NestWebhookHandlerOptions } from '@gj-kit/toss-payments-nestjs';
/**
* 코어 `nodeHandler`의 source IP 옵션을 Nest raw-body 경계에 그대로 전달한다.
*
* 기본값은 원본 Node socket의 `remoteAddress`다. reverse proxy 뒤에서 원본 IP가
* 필요하면, **앱이 신뢰하는 ingress가 재작성한 헤더만** 읽도록 sourceIp를 명시적으로
* 제공해야 한다. 임의의 `X-Forwarded-For`를 기본 신뢰하지 않는다.
*/
type NestWebhookHandlerOptions = NodeHandlerOptions;

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