Skip to content

BillingApproveError — @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 { BillingApproveError } from '@gj-kit/toss-payments/server';
type BillingApproveError = TossApiFailure<BillingErrorCode> | TransportFailure | {
readonly source: 'library';
readonly kind: 'missing-idempotency-key';
} | {
readonly source: 'library';
readonly kind: 'invalid-input';
readonly field: string;
readonly reason: string;
}
/** 봉인 소실 복제본 — billing.load()로 재수화하라. */
| {
readonly source: 'library';
readonly kind: 'profile-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