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.
Verified import example
Section titled “Verified import example”import { createRefundPolicy } from '@gj-kit/toss-payments';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** 내장 정책 생성. 설정 오류는 부팅 시 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.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments - Version:
0.6.1 - Public entry:
. - Source: GitHub