payWithBillingKey

@JvmName(name = "payWithBillingKeySuspend")
suspend fun payWithBillingKey(paymentId: String, billingKey: String, channelKey: String? = null, orderName: String, customer: CustomerInput? = null, customData: String? = null, amount: PaymentAmountInput, currency: Currency, installmentMonth: Int? = null, useFreeInterestFromMerchant: Boolean? = null, useCardPoint: Boolean? = null, cashReceipt: CashReceiptInput? = null, country: Country? = null, noticeUrls: List<String>? = null, products: List<PaymentProduct>? = null, productCount: Int? = null, productType: PaymentProductType? = null, shippingAddress: SeparatedAddressInput? = null, promotionId: String? = null, locale: Locale? = null, bypass: JsonObject? = null): PayWithBillingKeyResponse

빌링키 결제

빌링키로 결제를 진행합니다.

Parameters

paymentId

결제 건 아이디

billingKey

빌링키 결제에 사용할 빌링키

channelKey

채널 키

다수 채널에 대해 발급된 빌링키에 대해, 결제 채널을 특정하고 싶을 때 명시

orderName

주문명

customer

고객 정보

customData

사용자 지정 데이터

amount

결제 금액 세부 입력 정보

currency

통화

installmentMonth

할부 개월 수

useFreeInterestFromMerchant

무이자 할부 이자를 고객사가 부담할지 여부

useCardPoint

카드 포인트 사용 여부

cashReceipt

현금영수증 정보

나이스페이먼츠를 통해 네이버페이 포인트 빌링결제 시, 현금영수증 발급을 위해 입력 가능 (신청 필요)

country

결제 국가

noticeUrls

웹훅 주소

결제 승인/실패 시 요청을 받을 웹훅 주소입니다. 상점에 설정되어 있는 값보다 우선적으로 적용됩니다. 빈 배열은 무시됩니다.

products

상품 정보

입력된 값이 없을 경우에는 빈 배열로 해석됩니다.

productCount

상품 개수

productType

상품 유형

shippingAddress

배송지 주소

promotionId

해당 결제에 적용할 프로모션 아이디

locale

결제 시 사용할 언어

엑심베이의 경우 필수 입력입니다.

bypass

PG사별 추가 파라미터 ("PG사별 연동 가이드" 참고)

Throws