한국AI통신(koreaaitel.com)은 팀러너스 주식회사가 운영합니다.

KAT Cloud(katcloud.kr)는 한국에이아이통신 주식회사가 운영하는 별개 서비스입니다. 공식 채널 안내

계정·운영

구독 시작·요금제 변경 금액 미리보기

구독 시작·요금제 변경 금액 미리보기: 지금 이 요금제로 구독을 시작하거나(유료 구독이 없을 때) 바꾸면(있을 때) 카드로 낼 금액을 계산합니다. 아무것도 청구하거나 저장하지 않습니다. POST https://api.koreaaitel.com/v1/accounts/{accountId}/subscriptions/preview · 한국AI통신(koreaaitel.com) API

Markdown으로 보기
POST
/v1/accounts/{accountId}/subscriptions/preview

지금 이 요금제로 구독을 시작하거나(유료 구독이 없을 때) 바꾸면(있을 때) 카드로 낼 금액을 계산합니다. 아무것도 청구하거나 저장하지 않습니다. 업그레이드는 남은 기간 차액(baseAmount)을, 다운그레이드는 0 을 냅니다(periodStart 가 바뀌는 날). amount = baseAmount + arrearsAmount − creditAmount 이며, 구독 시작 요청의 expectedAmount 로 그대로 보냅니다.

Authorization

BearerAuth
AuthorizationBearer <token>

API Key를 Bearer 토큰으로 전달. 권한이나 통화 번호를 지정해 발급한 키는 허용되지 않은 기능에 403 api_key_scope_denied, 지정 번호 밖의 발신에 403 number_not_in_key_scope, 지정 번호 밖의 통화 조회에 404 를 받습니다(문서 /docs/api-keys).

In: header

Path Parameters

accountId*string

계정 ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

planId*string

요금제 ID(GET /v1/accounts/{accountId}/plans)

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/accounts/AC1a2b3c4d/subscriptions/preview" \  -H "Content-Type: application/json" \  -d '{    "planId": "plan_business"  }'
{
  "kind": "new",
  "planId": "string",
  "billingMonths": 0,
  "baseAmount": 0,
  "discountAmount": 0,
  "arrearsAmount": 0,
  "creditAmount": 0,
  "amount": 0,
  "currency": "KRW",
  "periodStart": "2019-08-24T14:15:22Z",
  "periodEnd": "2019-08-24T14:15:22Z",
  "promotion": {
    "id": "string",
    "percent": 0,
    "cycles": 0
  }
}
{
  "error": "string",
  "code": "recipient_blocked",
  "callId": "CA1a2b3c4d5e6f",
  "ip": "52.79.213.41",
  "processedAt": "2026-10-21T04:10:34.303Z",
  "blockers": [
    {
      "number": "07012340002",
      "code": "number_not_carrier_issued",
      "message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
    }
  ],
  "numbers": [
    "07012345678"
  ]
}
{
  "error": "string",
  "code": "recipient_blocked",
  "callId": "CA1a2b3c4d5e6f",
  "ip": "52.79.213.41",
  "processedAt": "2026-10-21T04:10:34.303Z",
  "blockers": [
    {
      "number": "07012340002",
      "code": "number_not_carrier_issued",
      "message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
    }
  ],
  "numbers": [
    "07012345678"
  ]
}
{
  "error": "string",
  "code": "recipient_blocked",
  "callId": "CA1a2b3c4d5e6f",
  "ip": "52.79.213.41",
  "processedAt": "2026-10-21T04:10:34.303Z",
  "blockers": [
    {
      "number": "07012340002",
      "code": "number_not_carrier_issued",
      "message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
    }
  ],
  "numbers": [
    "07012345678"
  ]
}
{
  "error": "string",
  "code": "recipient_blocked",
  "callId": "CA1a2b3c4d5e6f",
  "ip": "52.79.213.41",
  "processedAt": "2026-10-21T04:10:34.303Z",
  "blockers": [
    {
      "number": "07012340002",
      "code": "number_not_carrier_issued",
      "message": "이용증명원은 한국AI통신이 개통한 070·대표번호만 발급됩니다."
    }
  ],
  "numbers": [
    "07012345678"
  ]
}