PgSpecificClient

class PgSpecificClient(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null) : Closeable

API Secret을 사용해 포트원 API 클라이언트를 생성합니다.

Parameters

apiSecret

포트원 API Secret입니다.

apiBase

포트원 REST API 주소입니다. 기본값은 "https://api.portone.io"입니다.

storeId

하위 상점에 대해 기능을 사용할 때 필요한 하위 상점의 ID입니다.

Constructors

Link copied to clipboard
constructor(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
@JvmName(name = "confirmPaymentwallDeliverySuspend")
suspend fun confirmPaymentwallDelivery(transactionId: String, deliveryType: PaymentwallDeliveryType, deliveryStatus: PaymentwallDeliveryStatus, estimatedDeliveryDatetime: Instant, estimatedUpdateDatetime: Instant, reason: String? = null, refundable: Boolean, details: String, shippingAddressEmail: String, carrierTrackingId: String? = null, carrierType: String? = null, shippingAddressCountry: Country? = null, shippingAddressCity: String? = null, shippingAddressZip: String? = null, shippingAddressState: String? = null, shippingAddressStreet: String? = null, shippingAddressPhone: String? = null, shippingAddressFirstname: String? = null, shippingAddressLastname: String? = null, attachments: List<String>? = null): ConfirmPaymentwallDeliveryResponse

페이먼트월 배송 정보 등록

Link copied to clipboard
@JvmName(name = "getKakaopayPaymentOrderSuspend")
suspend fun getKakaopayPaymentOrder(pgTxId: String, channelKey: String): GetKakaopayPaymentOrderResponse

카카오페이 주문 조회 API