Skip to content

UnverifiedCallback — @gj-kit/toss-payments

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

import { UnverifiedCallback } from '@gj-kit/toss-payments/server';
/** successUrl 쿼리의 유일한 파싱 결과 — confirm은 이 타입을 받지 않는다. */
interface UnverifiedCallback extends Brand<'UnverifiedCallback'> {
readonly paymentKey: PaymentKey;
readonly orderId: OrderId;
/** 쿼리 문자열 → number 변환·검증 완료. */
readonly amount: number;
/** 문서 간 불일치(위젯 가이드에만 등장) — 옵셔널 파싱. */
readonly paymentType: 'NORMAL' | 'BILLING' | 'BRANDPAY' | null;
/** 10분 승인 시한 판정 기준. */
readonly receivedAt: Date;
}

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
  • Version: 0.6.1
  • Public entry: ./server
  • Source: GitHub