Skip to content

cardIssuerName — @gj-kit/toss-payments

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

import { cardIssuerName } from '@gj-kit/toss-payments/server';
/**
* Display name for a Toss card issuer/acquirer code, or `undefined` when the code is not in the
* documented table (Toss may add institutions; render a neutral fallback such as "카드" yourself).
*
* Matching is exact — Toss returns codes exactly as listed (uppercase letter, no whitespace), so
* no normalisation is applied. Only `'ko'` is supported today; the `locale` parameter exists so
* other languages can be added without changing the signature.
*/
declare function cardIssuerName(code: string, locale?: 'ko'): string | undefined;

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