IdentityVerificationClient

class IdentityVerificationClient(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 = "confirmIdentityVerificationSuspend")
suspend fun confirmIdentityVerification(identityVerificationId: String, otp: String? = null): ConfirmIdentityVerificationResponse

본인인증 확인

Link copied to clipboard
@JvmName(name = "getIdentityVerificationSuspend")
suspend fun getIdentityVerification(identityVerificationId: String): IdentityVerification

본인인증 단건 조회

Link copied to clipboard
@JvmName(name = "getIdentityVerificationsSuspend")
suspend fun getIdentityVerifications(page: PageInput? = null, sort: IdentityVerificationSortInput? = null, filter: IdentityVerificationFilterInput? = null): GetIdentityVerificationsResponse

본인인증 내역 다건 조회

Link copied to clipboard
@JvmName(name = "resendIdentityVerificationSuspend")
suspend fun resendIdentityVerification(identityVerificationId: String): ResendIdentityVerificationResponse

SMS 본인인증 요청 재전송

Link copied to clipboard
@JvmName(name = "sendIdentityVerificationSuspend")
suspend fun sendIdentityVerification(identityVerificationId: String, channelKey: String, customer: SendIdentityVerificationBodyCustomer, customData: String? = null, bypass: JsonObject? = null, operator: IdentityVerificationOperator, method: IdentityVerificationMethod): SendIdentityVerificationResponse

본인인증 요청 전송