Skip to content

SealedBillingKeyRecord — @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 { SealedBillingKeyRecord } from '@gj-kit/toss-payments/server';
/**
* store-save-failed 에러에 동봉되는 발급 record — **billingKey는 봉인 상태**(비공개 심볼,
* 비열거)다. `JSON.stringify(error)`·스프레드·`Object.values` 어디에도 billingKey 평문이
* 새지 않는다(BillingProfile과 동일한 봉인 규칙). 재저장하려면 {@link recoverBillingKeyRecord}
* 원본 {@link BillingKeyRecord}를 회수해 store.save에 직접 재시도하라.
*/
interface SealedBillingKeyRecord extends Omit<BillingKeyRecord, 'billingKey'>, Brand<'SealedBillingKeyRecord'> {
}

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