@gj-kit/toss-payments-nestjs
v0.4.4
Published
NestJS dependency injection and raw-body webhook integration for @gj-kit/toss-payments.
Maintainers
Readme
@gj-kit/toss-payments-nestjs
English · 한국어
NestJS DI and raw-body webhook composition for @gj-kit/toss-payments.
Install
pnpm add @gj-kit/toss-payments-nestjsUse it when
Use it when a Nest application needs to keep the core payment kit’s types and safety boundary through dependency injection.
Do not use it when
Do not reimplement payment verification in controllers or rely on parsed JSON when webhook verification requires raw bytes.
Golden path
Register TossPaymentsModule with your stores, inject the typed kit, and enable rawBody before binding a webhook handler.
import * as gjKit from '@gj-kit/toss-payments-nestjs';
void gjKit;Runtime and peers
| Peer | Supported range |
| --- | --- |
| @gj-kit/toss-payments | ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.6.0 |
| @nestjs/common | ^10 || ^11 |
| reflect-metadata | ^0.1.13 || ^0.2 |
| rxjs | ^7 |
Public entry points
@gj-kit/toss-payments-nestjs
Safety boundary
Preserve raw request bytes for verified webhooks and make every store dependency explicit in the host Nest module.
Documentation
The documentation references the npm-latest declaration snapshot. Use only documented public entry points; do not deep-import internal source files.
