PaymentRequestOutcome — @gj-kit/toss-payments
A public type from @gj-kit/toss-payments/browser. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { PaymentRequestOutcome } from '@gj-kit/toss-payments/browser';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 결제 요청 결과 — 사용자 취소는 에러가 아니다. * 리다이렉트 모드 고정: 프로미스 모드는 모바일 미지원(문서 근거)이라 제공하지 않는다. */type PaymentRequestOutcome = { readonly kind: 'redirecting';} | { readonly kind: 'user-canceled'; readonly code: 'USER_CANCEL' | 'PAY_PROCESS_CANCELED'; readonly message: string;};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:
./browser - Source: GitHub