Skip to content

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

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

import { TossPaymentsModuleRegisterOptions } from '@gj-kit/toss-payments-nestjs';
/**
* 이름 있는 kit의 동기 조립 옵션.
*
* API `sk`와 결제위젯 `gsk`처럼 서로 다른 키 쌍을 동시에 써야 할 때 사용한다.
* `name`은 한 Nest application에서 유일해야 하며, 주입부의
* `@InjectTossPayments(name)`와 정확히 일치해야 한다.
*/
interface TossPaymentsModuleRegisterOptions<C extends AnyTossPaymentsConfig> extends TossPaymentsModuleOptions {
readonly name: TossPaymentsKitName;
readonly config: C;
}

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