> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api/back-office-api/popup-bo-api/undefined-2.md).

# 채널 수수료 정보

## 채널 수수료정보 저장

> \## 기능설명\
> \* 체널 수수료 정보 저장 API 입니다.\
> \---\
> \## 상세설명\
> \* 채널 수수료 정보를 저장합니다.\
> \---\
> \## 검증내용\
> \* 추가 시 채널 수수료 정보는 중복이 불가합니다.\
> &#x20;   \* 중복 기준: 채널 상세번호, 적용시작일자, 적용종료일자\
> \* 저장 시 채널 수수료정보의 유효성을 검증합니다.\
> &#x20;   \* 채널 수수료 정보 기간은 중복이 불가합니다.\
> &#x20;   \* 정액정율구분코드가 정액인 경우, 수수료율 금액은 0 이상입니다.\
> &#x20;   \* 정액정율구분코드가 정율인 경우, 수수료율 금액은 0\~100 사이입니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CcChlCmsnInfoCUDRequest":{"type":"object","description":"채널수수료정보CUD Request","properties":{"createList":{"type":"array","description":"채널수수료정보 Create Request","items":{"$ref":"#/components/schemas/CcChlCmsnInfo"}},"updateList":{"type":"array","description":"채널수수료정보 Update Request","items":{"$ref":"#/components/schemas/CcChlCmsnInfo"}},"deleteList":{"type":"array","description":"채널수수료정보 Delete Request","items":{"$ref":"#/components/schemas/CcChlCmsnInfo"}}}},"CcChlCmsnInfo":{"type":"object","description":"채널수수료정보","properties":{"chlDtlNo":{"type":"string","description":"채널상세번호"},"orgAplyStrDt":{"type":"string","description":"원적용시작일자"},"orgAplyEndDt":{"type":"string","description":"원적용종료일자"},"aplyStrDt":{"type":"string","description":"적용시작일자"},"aplyEndDt":{"type":"string","description":"적용종료일자"},"fixamtFxrtGbCd":{"type":"string","description":"정액정률구분코드(MK005) 01:정액, 02:정률"},"cmsnRtAmt":{"type":"number","description":"수수료율금액"},"cudGb":{"type":"string"}}},"ResponseString":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"type":"string","description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}},"paths":{"/v1/popup/vendor/saveChannelCommissionInfo":{"post":{"tags":["채널 수수료 정보"],"summary":"채널 수수료정보 저장","description":"## 기능설명\n* 체널 수수료 정보 저장 API 입니다.\n---\n## 상세설명\n* 채널 수수료 정보를 저장합니다.\n---\n## 검증내용\n* 추가 시 채널 수수료 정보는 중복이 불가합니다.\n    * 중복 기준: 채널 상세번호, 적용시작일자, 적용종료일자\n* 저장 시 채널 수수료정보의 유효성을 검증합니다.\n    * 채널 수수료 정보 기간은 중복이 불가합니다.\n    * 정액정율구분코드가 정액인 경우, 수수료율 금액은 0 이상입니다.\n    * 정액정율구분코드가 정율인 경우, 수수료율 금액은 0~100 사이입니다.\n","operationId":"saveChannelCommissionInfo","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CcChlCmsnInfoCUDRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseString"}}}}}}}}}
```

## 채널 수수료정보 조회

> \## 기능설명\
> \* 체널 수수료 정보 조회 API 입니다.\
> \---\
> \## 상세설명\
> \* 채널 상세번호 기준으로 채널 수수료 정보를 조회합니다.\
> &#x20;   \* 채널 상세번호 내림차순, 적용 시작일자 내림차순으로 정렬합니다.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE BO API","version":"v1"},"servers":[{"url":"https://api-bo.x2bee.com/api/bo/","description":"prd"}],"security":[{"accessToken":[]}],"components":{"securitySchemes":{"accessToken":{"type":"http","name":"accessToken","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ResponseRealGridListResponseCcChlCmsnInfoResponse":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","description":"result time"},"code":{"type":"string","description":"result code"},"message":{"type":"string","description":"result message"},"isProcess":{"type":"boolean","description":"process check"},"payload":{"$ref":"#/components/schemas/RealGridListResponseCcChlCmsnInfoResponse","description":"payload"},"error":{"type":"boolean","description":"is error"},"errors":{"type":"array","description":"validation error list","items":{"$ref":"#/components/schemas/ValidationError"}}}},"RealGridListResponseCcChlCmsnInfoResponse":{"type":"object","properties":{"totalCount":{"type":"integer","format":"int32"},"payloads":{"type":"array","items":{"$ref":"#/components/schemas/CcChlCmsnInfoResponse"}}}},"CcChlCmsnInfoResponse":{"type":"object","description":"채널수수료정보 Response","properties":{"chlDtlNo":{"type":"string","description":"채널상세번호"},"orgAplyStrDt":{"type":"string","description":"원적용시작일자"},"orgAplyEndDt":{"type":"string","description":"원적용종료일자"},"aplyStrDt":{"type":"string","description":"적용시작일자"},"aplyEndDt":{"type":"string","description":"적용종료일자"},"fixamtFxrtGbCd":{"type":"string","description":"정액정률구분코드(MK005) 01:정액, 02:정률"},"cmsnRtAmt":{"type":"number","description":"수수료율금액"}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string","description":"field"},"message":{"type":"string","description":"field message"}}}}},"paths":{"/v1/popup/vendor/getChannelCommissionInfoList":{"get":{"tags":["채널 수수료 정보"],"summary":"채널 수수료정보 조회","description":"## 기능설명\n* 체널 수수료 정보 조회 API 입니다.\n---\n## 상세설명\n* 채널 상세번호 기준으로 채널 수수료 정보를 조회합니다.\n    * 채널 상세번호 내림차순, 적용 시작일자 내림차순으로 정렬합니다.\n","operationId":"getChannelCommissionInfoList","parameters":[{"name":"chlDtlNo","in":"query","description":"채널상세번호","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ResponseRealGridListResponseCcChlCmsnInfoResponse"}}}}}}}}}
```
