@portone/browser-sdk
Version:
PortOne SDK for browser
32 lines (31 loc) • 954 B
TypeScript
/**
* 정규화가 어려운 네이버페이 bypass 파라미터
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
*/
type ProductItem = {
categoryType: string;
categoryId: string;
uid: string;
name: string;
payReferrer?: NaverPayReferrer;
startDate?: string;
endDate?: string;
sellerId?: string;
count: number;
};
type NaverPayReferrer = 'NAVER_BOOK' | 'NAVER_MUSIC' | 'NAVER_SHOPPING' | 'NAVER_MAP' | 'NAVER_PLACE' | 'SEARCH_AD' | 'NAVER_SEARCH' | 'BRAND_SEARCH' | 'PARTNER_DIRECT' | 'ETC';
type SubMerchantInfo = {
subMerchantName: string;
subMerchantId: string;
subMerchantBusinessNo: string;
subMerchantPayId: string;
subMerchantTelephoneNo: string;
subMerchantCustomerServiceUrl: string;
};
export type NaverpayPaymentBypass = {
useCfmYmdt?: string;
productItems?: ProductItem[];
subMerchantInfo?: SubMerchantInfo;
deliveryFee?: number;
};
export {};