Skip to content

AuditSink — @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 { AuditSink } from '@gj-kit/toss-payments/server';
interface AuditSink {
/**
* 시도 1건당 1회 호출된다. 반환 Promise는 클라이언트가 await하지 않는다 —
* sync throw·async rejection 모두 삼켜지고 `AuditOptions.onSinkError`로만 통지된다.
*/
record(entry: AuditEntry): void | Promise<void>;
}

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