Skip to content

CancelRequestId — @gj-kit/toss-payments

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

import { CancelRequestId } from '@gj-kit/toss-payments';
/**
* 취소 요청 ID — 6–64자, `^[A-Za-z0-9\-_=]+$` (상점 발급 고유값).
* **중국·동남아 비동기(Alipay 등) 결제 취소에만 필수**다 — 공식 V2 '해외 간편결제
* 연동하기'(문서 ID 53)의 취소 Request Body 규격. 국내/일반 취소에는 불필요.
*/
type CancelRequestId = string & Brand<'CancelRequestId'>;

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