Partner Client
class PartnerClient(apiSecret: String, apiBase: String = "https://api.portone.io", storeId: String? = null) : Closeable
API Secret을 사용해 포트원 API 클라이언트를 생성합니다.
Parameters
api Secret
포트원 API Secret입니다.
api Base
포트원 REST API 주소입니다. 기본값은 "https://api.portone.io"
입니다.
store Id
하위 상점에 대해 기능을 사용할 때 필요한 하위 상점의 ID입니다.
Functions
Link copied to clipboard
파트너 복원
Link copied to clipboard
suspend fun connectBulkPartnerMemberCompany(filter: PlatformPartnerFilterInput? = null): ConnectBulkPartnerMemberCompanyResponse
파트너 연동 사업자 일괄 연동
Link copied to clipboard
파트너 연동 사업자 연동
Link copied to clipboard
suspend fun createPlatformPartner(id: String? = null, name: String, contact: CreatePlatformPartnerBodyContact, account: CreatePlatformPartnerBodyAccount, defaultContractId: String, memo: String? = null, tags: List<String>, type: CreatePlatformPartnerBodyType, userDefinedProperties: PlatformProperties? = null): CreatePlatformPartnerResponse
파트너 생성
Link copied to clipboard
suspend fun createPlatformPartners(partners: List<CreatePlatformPartnerBody>): CreatePlatformPartnersResponse
파트너 다건 생성
Link copied to clipboard
suspend fun disconnectBulkPartnerMemberCompany(filter: PlatformPartnerFilterInput? = null): DisconnectBulkPartnerMemberCompanyResponse
파트너 연동 사업자 연동 해제
Link copied to clipboard
연동 사업자 연동 해제
Link copied to clipboard
파트너 조회
Link copied to clipboard
suspend fun getPlatformPartners(page: PageInput? = null, filter: PlatformPartnerFilterInput? = null): GetPlatformPartnersResponse
파트너 다건 조회
Link copied to clipboard
파트너 복원
Link copied to clipboard
suspend fun updatePlatformPartner(id: String, name: String? = null, contact: UpdatePlatformPartnerBodyContact? = null, account: UpdatePlatformPartnerBodyAccount? = null, defaultContractId: String? = null, memo: String? = null, tags: List<String>? = null, type: UpdatePlatformPartnerBodyType? = null, userDefinedProperties: PlatformProperties? = null): UpdatePlatformPartnerResponse
파트너 수정