Skip to content

CancelRetryRecord — @gj-kit/toss-payments

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

import { CancelRetryRecord } from '@gj-kit/toss-payments/server';
/** 환불계좌 등 민감 요청을 포함할 수 있으므로 반드시 암호화 at-rest 저장할 것. */
interface CancelRetryRecord {
readonly ticketId: string;
readonly paymentKey: string;
readonly idempotencyKey: string;
readonly issuedAt: string;
readonly path: string;
readonly bodyJson: string;
readonly testCode: string | undefined;
readonly expectedCancelAmount: number;
readonly previousBalanceAmount: number;
}

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