Skip to content

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

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

import { getTossPaymentsToken } from '@gj-kit/toss-payments-nestjs';
/**
* 이름별 kit 바인딩 토큰을 만든다. `Symbol.for`를 써 ESM/CJS 이중 로드에서도 같은
* 이름은 같은 토큰으로 해석된다. 같은 Nest application에서 같은 이름을 두 번
* register하면 provider 토큰이 충돌하므로 이름을 유일하게 유지해야 한다.
*/
declare function getTossPaymentsToken(name: TossPaymentsKitName): symbol;

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