Skip to content

RevokeBillingKeyOutcome — @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 { RevokeBillingKeyOutcome } from '@gj-kit/toss-payments/server';
/**
* 원격 billing key revoke 뒤 현재 로컬 credential도 제거됐는지의 명시적 결과.
*
* `false`는 profile이 오래되어 같은 customerKey에 더 새 billing key가 있거나, 이미
* 로컬 행이 없어서 현재 credential을 건드리지 않았다는 뜻이다. 원격 DELETE 자체는
* 성공했으므로 Err가 아니지만, 호출자가 이를 "현재 결제수단 해제"로 오해하면 안 된다.
*/
interface RevokeBillingKeyOutcome {
readonly currentStoredKeyDeleted: boolean;
}

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