Skip to content

DirectCardIssueInput — @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 { DirectCardIssueInput } from '@gj-kit/toss-payments/server';
interface DirectCardIssueInput {
readonly customerKey: CustomerKey;
readonly cardNumber: string;
readonly cardExpirationYear: string;
readonly cardExpirationMonth: string;
/** 생년월일 YYMMDD 6자리 또는 사업자등록번호 10자리. */
readonly customerIdentityNumber: string;
/** 카드 비밀번호 앞 2자리 — ⚠ 절대 로그에 남기지 말 것. */
readonly cardPassword: string;
readonly customerName?: string;
readonly customerEmail?: 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.

  • Package: @gj-kit/toss-payments
  • Version: 0.6.1
  • Public entry: ./server
  • Source: GitHub