createPlatformPartner

@JvmName(name = "createPlatformPartnerSuspend")
suspend fun createPlatformPartner(test: Boolean? = null, id: String? = null, name: String, contact: CreatePlatformPartnerBodyContact, account: CreatePlatformPartnerBodyAccount, defaultContractId: String, memo: String? = null, tags: List<String>, type: CreatePlatformPartnerBodyType, userDefinedProperties: PlatformProperties? = null): CreatePlatformPartnerResponse

파트너 생성

새로운 파트너를 생성합니다.

Parameters

test

테스트 모드 여부

테스트 모드 여부를 결정합니다. true 이면 테스트 모드로 실행됩니다. Request Body에도 isForTest가 있을 수 있으나, 둘 다 제공되면 Query Parameter의 test 값을 사용하고, Request Body의 isForTest는 무시됩니다. Query Parameter의 test와 Request Body의 isForTest에 모두 값이 제공되지 않으면 기본값인 false로 적용됩니다.

id

파트너에 부여할 고유 아이디

고객사 서버에 등록된 파트너 지칭 아이디와 동일하게 설정하는 것을 권장합니다. 명시하지 않는 경우 포트원이 임의의 아이디를 발급해드립니다.

name

파트너 법인명 혹은 이름

contact

파트너 담당자 연락 정보

account

정산 계좌

파트너의 사업자등록번호가 존재하는 경우 명시합니다. 별도로 검증하지는 않으며, 번호와 기호 모두 입력 가능합니다.

defaultContractId

기본 계약 아이디

이미 존재하는 계약 아이디를 등록해야 합니다.

memo

파트너에 대한 메모

총 256자까지 입력할 수 있습니다.

tags

파트너에 부여할 태그 리스트

최대 10개까지 입력할 수 있습니다.

type

파트너 유형별 추가 정보

사업자/원천징수 대상자 중 추가할 파트너의 유형에 따른 정보를 입력해야 합니다.

userDefinedProperties

사용자 정의 속성

Throws