Skip to content

createPgBillingKeyStore — @gj-kit/toss-payments-postgresql

A public function from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.

import { createPgBillingKeyStore } from '@gj-kit/toss-payments-postgresql';
/**
* BillingKeyStore의 조건부 delete는 protected payload를 같은 transaction에서 복호화·비교해야
* 한다. 따라서 `withConnection` 없는 SqlExecutor는 지원하지 않고 SqlClient가 필수다.
*/
declare function createPgBillingKeyStore(sql: SqlClient, options: PgSensitiveStoreOptions): PgBillingKeyStore;

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-postgresql
  • Version: 0.5.1
  • Public entry: .
  • Source: GitHub