@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
69 lines (68 loc) • 1.68 kB
TypeScript
import type { Bank } from "./../../common/Bank.js";
import type { Currency } from "./../../common/Currency.js";
import type { Type } from "./../../platform/accountTransfer/Type.js";
export type PlatformWithdrawalAccountTransfer = {
/** 계좌 이체 유형 */
type: "WITHDRAWAL";
/** 계좌 이체 아이디 */
id: string;
/**
* 거래 일련번호
* (int32)
*/
sequenceNumber: number;
/** 통화 */
currency: Currency;
/** 이체 계좌 은행 */
depositBank: Bank;
/** 이체 계좌 번호 */
depositAccountNumber: string;
/** 예금주 */
depositAccountHolder: string;
/**
* 금액
* (int64)
*/
amount: number;
/** 보내는 이 통장 메모 */
withdrawalMemo?: string;
/** 받는 이 통장 메모 */
depositMemo?: string;
/**
* 잔액
* (int64)
*/
balance?: number;
/** 실패 사유 */
failReason?: string;
/**
* 이체 일시
* (RFC 3339 date-time)
*/
tradedAt?: string;
/**
* 생성 일시
* (RFC 3339 date-time)
*/
createdAt: string;
/**
* 수정 일시
* (RFC 3339 date-time)
*/
updatedAt: string;
/** 테스트 모드 여부 */
isForTest: boolean;
/** 출금 유형 */
withdrawalType: Type;
/** 파트너 고유 아이디 */
partnerId?: string;
partnerGraphqlId?: string;
/** 일괄 지급 고유 아이디 */
bulkPayoutId?: string;
bulkPayoutGraphqlId?: string;
/** 지급 고유 아이디 */
payoutId?: string;
payoutGraphqlId?: string;
/** 전자서명 아이디 */
documentId?: string;
};