@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
45 lines (44 loc) • 989 B
TypeScript
import type { Trigger } from "./../payment/Trigger.js";
/** 취소 실패 상태 */
export type FailedPaymentCancellation = {
/** 결제 취소 내역 상태 */
status: "FAILED";
/** 취소 내역 아이디 */
id: string;
/** PG사 결제 취소 내역 아이디 */
pgCancellationId?: string;
/**
* 취소 총 금액
* (int64)
*/
totalAmount: number;
/**
* 취소 금액 중 면세 금액
* (int64)
*/
taxFreeAmount: number;
/**
* 취소 금액 중 부가세액
* (int64)
*/
vatAmount: number;
/**
* 적립형 포인트의 환불 금액
* (int64)
*/
easyPayDiscountAmount?: number;
/** 취소 사유 */
reason: string;
/**
* 취소 시점
* (RFC 3339 date-time)
*/
cancelledAt?: string;
/**
* 취소 요청 시점
* (RFC 3339 date-time)
*/
requestedAt: string;
/** 취소 요청 경로 */
trigger?: Trigger;
};