Skip to content

createRefundPolicy — @gj-kit/toss-payments

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

import { createRefundPolicy } from '@gj-kit/toss-payments';
/** 내장 정책 생성. 설정 오류는 부팅 시 orThrow로 처리할 수 있도록 Result로 반환한다. */
declare function createRefundPolicy<const Config extends BuiltInRefundPolicyConfig>(config: Config): Result<RefundPolicy<QuoteInputFor<Config>>, RefundPolicyConfigError>;

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: .
  • Source: GitHub