Skip to content

CallbackQueryInput — @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.

import { CallbackQueryInput } from '@gj-kit/toss-payments/server';
/**
* confirm 플로우 — parse → verify(OrderStore) → confirm 3단계 + confirmCallback 원스톱.
*
* 금액 대조("쿼리 파라미터의 amount 값과 setAmount()의 amount 값이 같은지 반드시
* 확인하세요" — 문서 의무)와 10분 승인 시한을 타입으로 강제한다: confirm은
* VerifiedCheckout만 받고, VerifiedCheckout은 verify 통과로만 얻는다.
*/
/** 프레임워크 무관 콜백 입력 — Next.js req.url, Express req.query, Hono c.req.url, URL 전부 수용. */
type CallbackQueryInput = string | URL | URLSearchParams | Readonly<Record<string, string | readonly string[] | undefined>>;

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