portone-api-v2
Version:
PortOne REST API v2
28 lines (27 loc) • 1.21 kB
TypeScript
import { PortOneRequest } from '../request';
import { PortOneClient } from '../client';
import type { Request, Response } from '../types';
export declare class BillingKey extends PortOneRequest {
constructor(portone: PortOneClient);
/**
* 빌링키 단건 조회
* @param billingKey 조회할 빌링키
* @param storeId 상점 ID. 미입력 시 토큰에 담긴 값 사용
*/
find(billingKey: string, storeId?: string): Promise<import("axios").AxiosResponse<import("../types").BillingKeyInfo, any>>;
/**
* 빌링키 다건 조회
* @param requestBody 빌링키 다건 조회 요청 데이터
*/
findMany(requestBody: Request.FindManyBillingKeys): Promise<import("axios").AxiosResponse<Response.FindManyBillingKeys, any>>;
/**
* 빌링키 발급
*/
issue(data: Request.IssueBillingKey): Promise<import("axios").AxiosResponse<Response.IssueBillingKey, any>>;
/**
* 빌링키 삭제
* @param billingKey 삭제할 빌링키
* @param storeId 상점 ID. 미입력 시 토큰에 담긴 값 사용
*/
delete(billingKey: string, storeId?: string): Promise<import("axios").AxiosResponse<Response.DeleteBillingKey, any>>;
}