Skip to content

BillingKeyDeleteRequest — @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 { BillingKeyDeleteRequest } from '@gj-kit/toss-payments/server';
/**
* 현재 billing key를 조건부로 제거하는 요청.
*
* 두 raw 문자열을 별도 인자로 받지 않고 한 객체로 묶어, 예전의
* `delete(customerKey)` 구현이 TypeScript 구조 타이핑에서 우연히 호환되는 일을 막는다.
* 이 객체는 billing key 영속화 경계에서만 만들고 로그/telemetry에 통째로 남기지 않는다.
*/
interface BillingKeyDeleteRequest {
readonly customerKey: BillingKeyRecord['customerKey'];
readonly expectedBillingKey: BillingKeyRecord['billingKey'];
}

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