UNPKG

@portone/browser-sdk

Version:

PortOne SDK for browser

47 lines (46 loc) 1.13 kB
/** * 정규화가 어려운 토스페이먼츠 브랜드페이 bypass 파라미터 * 가맹점으로부터 전달 된 값을 PG사로 그대로 전달 */ export type TossBrandpayPaymentBypass = { brandpayOptions?: { ui?: BrandpayUi; }; widgetOptions?: { methodType?: '카드' | '계좌'; methodId?: string; ui?: BrandpayWidgetUi; }; discountCode?: string; methodId?: string; }; type BrandpayUi = { highlightColor?: string; /** * 버튼 스타일 * - default(기본값): 모서리가 둥글고 주변에 여백을 가진 버튼 * - full: 하단 영역이 전부 채워지는 형태의 버튼 */ buttonStyle?: 'default' | 'full'; labels?: Labels; navigationBar?: NavigationBar; }; type Labels = { oneTouchPay?: string; }; type NavigationBar = { visible?: boolean; paddingTop?: number; }; type BrandpayWidgetUi = { promotionSection?: { summary?: { visible?: boolean; }; description?: { visible?: boolean; defaultOpen?: boolean; }; }; }; export {};