Skip to content

RefundAccount — @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 { RefundAccount } from '@gj-kit/toss-payments/server';
/**
* 환불 계좌 스마트 생성자.
* 필드명은 bank다 — bankCode 아님(레퍼런스 원문). accountNumber ≤20자 숫자만(하이픈 불가),
* holderName ≤60자.
*/
interface RefundAccount extends Brand<'RefundAccount'> {
readonly bank: string;
readonly accountNumber: string;
readonly holderName: string;
}

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