@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
40 lines (39 loc) • 1.32 kB
TypeScript
import type { CustomerInput } from "./../../common/CustomerInput.js";
import type { InstantBillingKeyPaymentMethodInput } from "./../../payment/billingKey/InstantBillingKeyPaymentMethodInput.js";
/** 빌링키 발급 요청 양식 */
export type IssueBillingKeyBody = {
/**
* 상점 아이디
*
* 접근 권한이 있는 상점 아이디만 입력 가능하며, 미입력시 토큰에 담긴 상점 아이디를 사용합니다.
*/
storeId?: string;
/** 빌링키 결제 수단 정보 */
method: InstantBillingKeyPaymentMethodInput;
/**
* 채널 키
*
* 채널 키 또는 채널 그룹 ID 필수
*/
channelKey?: string;
/**
* 채널 그룹 ID
*
* 채널 키 또는 채널 그룹 ID 필수
*/
channelGroupId?: string;
/** 고객 정보 */
customer?: CustomerInput;
/** 사용자 지정 데이터 */
customData?: string;
/** PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고) */
bypass?: object;
/**
* 웹훅 주소
*
* 빌링키 발급 시 요청을 받을 웹훅 주소입니다.
* 상점에 설정되어 있는 값보다 우선적으로 적용됩니다.
* 입력된 값이 없을 경우에는 빈 배열로 해석됩니다.
*/
noticeUrls?: string[];
};