Skip to content

IssueBillingKeyError — @gj-kit/toss-payments

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

import { IssueBillingKeyError } from '@gj-kit/toss-payments/server';
type IssueBillingKeyError = TossApiFailure<BillingErrorCode> | TransportFailure
/**
* 키는 발급됐다 — 유실 방지를 위해 발급 record를 동봉한다(수동 복구용).
* issuedRecord의 billingKey는 봉인되어 있어 에러 객체를 통째로 로깅해도 유출되지 않는다 —
* 회수는 {@link recoverBillingKeyRecord}로만 가능하다.
*/
| {
readonly source: 'library';
readonly kind: 'store-save-failed';
readonly cause: unknown;
readonly issuedRecord: SealedBillingKeyRecord;
}
/** 봉인 소실 복제본(스프레드/직렬화) — 인증 플로우를 다시 시작해야 한다. */
| {
readonly source: 'library';
readonly kind: 'auth-detached';
readonly customerKey: CustomerKey;
};

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