Skip to content

RefundTargetKind — @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 { RefundTargetKind } from '@gj-kit/toss-payments/server';
/**
* 비즈니스 환불 견적을 Toss 취소 primitive에 안전하게 결속하는 서버 계층.
*
* 정책 계산은 core의 RefundQuote가 소유하고, 이 모듈은 현재 조회 스냅샷과 견적의
* 신원/잔액을 다시 대조한 뒤 기존 TossCancels에만 위임한다. 견적 금액을 현재 잔액에
* 조용히 맞추지 않는다 — stale 견적은 새 조회·새 견적·새 멱등키가 필요한 별도 요청이다.
*/
type RefundTargetKind = CancelablePayment["kind"];

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