createPlatformContract

@JvmName(name = "createPlatformContractSuspend")
suspend fun createPlatformContract(test: Boolean? = null, id: String? = null, name: String, memo: String? = null, platformFee: PlatformFeeInput, settlementCycle: PlatformSettlementCycleInput, platformFeeVatPayer: PlatformPayer, subtractPaymentVatAmount: Boolean): CreatePlatformContractResponse

계약 생성

새로운 계약을 생성합니다.

Parameters

test

테스트 모드 여부

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

id

계약에 부여할 고유 아이디

명시하지 않는 경우 포트원이 임의의 아이디를 발급해드립니다.

name

계약 이름

memo

계약 내부 표기를 위한 메모

platformFee

중개수수료

settlementCycle

정산 주기

platformFeeVatPayer

중개수수료에 대한 부가세 부담 주체

subtractPaymentVatAmount

정산 시 결제금액 부가세 감액 여부

Throws