문서로 건너뛰기
API

요금제 나열

모든 요금제를 저렴한 순으로, 가격과 포함 내용과 함께.

GET/billing/plans

워크스페이스에 실제 호출을 실행합니다.

GET /billing/plans

모든 요금제를 저렴한 순으로, 가격과 포함 내용과 함께.

예시

billing:read가 필요합니다. 가격은 월 미국 센트 단위입니다. available은 이 설치에서 요금제를 판매하는지, intervals는 판매하는 청구 주기를 알려 줍니다.

curl
curl "$OE/billing/plans" -H "$AUTH"
응답
{  "object": "list",  "data": [    {      "object": "plan",      "id": "business",      "name": "Business",      "available": true,      "intervals": ["month", "year"],      "monthlyPriceCents": 10000,      "yearlyMonthlyPriceCents": 6000,      "includedDomains": 500,      "monthlySends": 200000,      "dailyAiActions": 150,      "teamAccess": true,      "prioritySupport": true,      "extraSends": true,      "extraAiActions": true    }  ]}

null인 한도는 요금제에 한도가 없다는 뜻입니다.

결제에는 워크스페이스 소유자만 닿습니다: API 키, 또는 소유자가 모든 주소로 연결한 액세스 토큰입니다. 멤버의 토큰은 403 owner_only, 특정 주소나 도메인으로 제한된 키나 토큰은 422 capability_unsupported입니다.

레퍼런스