VerifyCheckoutError — @gj-kit/toss-payments
A public type from @gj-kit/toss-payments/server. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { VerifyCheckoutError } from '@gj-kit/toss-payments/server';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”type VerifyCheckoutError = { readonly source: 'library'; readonly kind: 'order-not-found'; readonly orderId: OrderId;} | { /** 문서 "반드시 확인하세요"의 강제 지점 — 금액 변조 시도 신호. */ readonly source: 'library'; readonly kind: 'amount-mismatch'; readonly orderId: OrderId; readonly expected: number; readonly received: number;} | { readonly source: 'library'; readonly kind: 'approval-window-exceeded'; readonly deadline: Date; readonly now: Date;} | { readonly source: 'library'; readonly kind: 'store-failure'; readonly operation: 'load'; readonly cause: unknown;};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.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments - Version:
0.6.1 - Public entry:
./server - Source: GitHub