결제 예약 관련 API

결제 예약과 관련된 API 기능을 제공합니다.

타입 정의

API 요청/응답의 각 필드에서 사용되는 타입 정의들을 확인할 수 있습니다
Address: OneLineAddress | SeparatedAddress
분리 형식 주소

oneLine(한 줄 형식 주소) 필드는 항상 존재합니다.

AlreadyPaidOrWaitingError: { type, message }
결제가 이미 완료되었거나 대기중인 경우

결제가 이미 완료되었거나 대기중인 경우

BillingKeyAlreadyDeletedError: { type, message }
빌링키가 이미 삭제된 경우

빌링키가 이미 삭제된 경우

BillingKeyNotFoundError: { type, message }
빌링키가 존재하지 않는 경우

빌링키가 존재하지 않는 경우

BillingKeyPaymentScheduleInput: { storeId, billingKey, channelKey, ... }
빌링키 결제 예약 요청 입력 정보

빌링키 결제 예약 요청 입력 정보

CashReceiptInput: { type, customerIdentityNumber }
현금영수증 입력 정보

현금영수증 입력 정보

CashReceiptInputType: "PERSONAL" | "CORPORATE" | "NO_RECEIPT"
입력 시 발급 유형

입력 시 발급 유형

Country: "AD" | "AE" | "AF" | ...
국가

국가

CreatePaymentScheduleError: AlreadyPaidOrWaitingError | BillingKeyAlreadyDeletedError | BillingKeyNotFoundError | ...
CreatePaymentScheduleError
CreatePaymentScheduleResponse: { schedule }
결제 예약 성공 응답

결제 예약 성공 응답

Currency: "KRW" | "USD" | "JPY" | ...
통화 단위

통화 단위

Customer: { id, name, birthYear, ... }
고객 정보

고객 정보

CustomerInput: { id, name, birthYear, ... }
고객 정보 입력 정보

고객 정보 입력 정보

CustomerNameInput: { full, separated }
고객 이름 입력 정보

두 개의 이름 형식 중 한 가지만 선택하여 입력해주세요.

CustomerSeparatedName: { first, last }
고객 분리형 이름

고객 분리형 이름

FailedPaymentSchedule: { status, id, merchantId, ... }
결제 실패 상태

결제 실패 상태

ForbiddenError: { type, message }
요청이 거절된 경우

요청이 거절된 경우

Gender: "MALE" | "FEMALE" | "OTHER"
성별

성별

GetPaymentScheduleError: ForbiddenError | InvalidRequestError | PaymentScheduleNotFoundError | ...
GetPaymentScheduleError
GetPaymentSchedulesError: ForbiddenError | InvalidRequestError | UnauthorizedError
GetPaymentSchedulesError
GetPaymentSchedulesResponse: { items, page }
결제 예약 다건 조회 성공 응답 정보

결제 예약 다건 조회 성공 응답 정보

InvalidRequestError: { type, message }
요청된 입력 정보가 유효하지 않은 경우

허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다.

Locale: "KO_KR" | "EN_US" | "ZH_CN" | ...
결제 언어

결제 언어

OneLineAddress: { type, oneLine }
한 줄 형식 주소

한 줄 형식 주소만 존재합니다.

PageInfo: { number, size, totalCount }
반환된 페이지 결과 정보

반환된 페이지 결과 정보

PaymentAmountInput: { total, taxFree, vat }
금액 세부 입력 정보

금액 세부 입력 정보

PaymentProduct: { id, name, tag, ... }
상품 정보

상품 정보

PaymentProductType: "PHYSICAL" | "DIGITAL"
상품 유형

상품 유형

PaymentSchedule: FailedPaymentSchedule | PendingPaymentSchedule | RevokedPaymentSchedule | ...
결제 예약 건

결제 예약 건

PaymentScheduleAlreadyExistsError: { type, message }
결제 예약건이 이미 존재하는 경우

결제 예약건이 이미 존재하는 경우

PaymentScheduleAlreadyProcessedError: { type, message }
결제 예약건이 이미 처리된 경우

결제 예약건이 이미 처리된 경우

PaymentScheduleAlreadyRevokedError: { type, message }
결제 예약건이 이미 취소된 경우

결제 예약건이 이미 취소된 경우

PaymentScheduleNotFoundError: { type, message }
결제 예약건이 존재하지 않는 경우

결제 예약건이 존재하지 않는 경우

PaymentScheduleSummary: { id }
결제 예약 건

결제 예약 건

PendingPaymentSchedule: { status, id, merchantId, ... }
결제 완료 대기 상태

결제 완료 대기 상태

RevokePaymentSchedulesError: BillingKeyAlreadyDeletedError | BillingKeyNotFoundError | ForbiddenError | ...
RevokePaymentSchedulesError
RevokePaymentSchedulesResponse: { revokedScheduleIds, revokedAt }
결제 예약 건 취소 성공 응답

결제 예약 건 취소 성공 응답

RevokedPaymentSchedule: { status, id, merchantId, ... }
결제 예약 취소 상태

결제 예약 취소 상태

ScheduledPaymentSchedule: { status, id, merchantId, ... }
결제 예약 완료 상태

결제 예약 완료 상태

SeparatedAddress: { type, oneLine, addressLine1, ... }
분리 형식 주소

한 줄 형식 주소와 분리 형식 주소 모두 존재합니다. 한 줄 형식 주소는 분리 형식 주소를 이어 붙인 형태로 생성됩니다.

SeparatedAddressInput: { addressLine1, addressLine2, city, ... }
분리 형식 주소 입력 정보

분리 형식 주소 입력 정보

StartedPaymentSchedule: { status, id, merchantId, ... }
결제 시작 상태

결제 시작 상태

SucceededPaymentSchedule: { status, id, merchantId, ... }
결제 성공 상태

결제 성공 상태

SumOfPartsExceedsTotalAmountError: { type, message }
면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우

면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우

UnauthorizedError: { type, message }
인증 정보가 올바르지 않은 경우

인증 정보가 올바르지 않은 경우