청구
청구 요약, 인보이스, 거래, 요금제 작업을 검토합니다. 예시는 A2A 코드 모드를 사용합니다. MCP는execute 도구를 통해 동일한 코드 모드를 노출합니다.
함수
billing.current_plan.get
billing.current_plan.get.
| 속성 | 값 | 속성 | 값 |
|---|---|---|---|
| 필요 권한 | billing.view | 인증 필요 | 예 |
| 실행 모드 | sync | 기능 권한 | billing.view |
| 리소스 유형 | account | 리소스 ID 필드 | account_id |
| 공개 API 경로 | GET /v1/public/accounts/{account_id}/billing/current-plan |
인수
인수
| 이름 | 유형 | 필수 |
|---|---|---|
account_id | str | 예 |
반환값
반환값
| 필드 | 유형 | 필수 |
|---|---|---|
billing_period | str | 예 |
currency | str | 예 |
plan_id | str | 예 |
plan_name | str | 예 |
price | str | 예 |
status | str | 예 |
can_cancel_plan | bool | 아니요 |
can_change_plan | bool | 아니요 |
A2A 예시
A2A 예시
요청:응답:
MCP 예시
MCP 예시
요청:응답:
billing.invoices.list
billing.invoices.list.
| 속성 | 값 | 속성 | 값 |
|---|---|---|---|
| 필요 권한 | billing.view | 인증 필요 | 예 |
| 실행 모드 | sync | 기능 권한 | billing.view |
| 리소스 유형 | account | 리소스 ID 필드 | account_id |
| 공개 API 경로 | GET /v1/public/accounts/{account_id}/billing/invoices |
인수
인수
| 이름 | 유형 | 필수 |
|---|---|---|
account_id | str | 예 |
page | int | 아니요 |
page_size | int | 아니요 |
반환값
반환값
| 필드 | 유형 | 필수 |
|---|---|---|
items | [{"amount": str, "currency": str, "date": str, "download_url": str | null, "id": str, "status": str}] | 예 |
page | int | 예 |
page_size | int | 예 |
total | int | 예 |
A2A 예시
A2A 예시
요청:응답:
MCP 예시
MCP 예시
요청:응답:
billing.plan.cancel
billing.plan.cancel.
| 속성 | 값 | 속성 | 값 |
|---|---|---|---|
| 필요 권한 | billing.manage | 인증 필요 | 예 |
| 실행 모드 | sync | 기능 권한 | billing.manage |
| 리소스 유형 | account | 리소스 ID 필드 | account_id |
| 공개 API 경로 | POST /v1/public/accounts/{account_id}/billing/cancel-plan |
인수
인수
| 이름 | 유형 | 필수 |
|---|---|---|
account_id | str | 예 |
cancel_at_period_end | bool | 아니요 |
cancel_immediately | bool | 아니요 |
반환값
반환값
| 필드 | 유형 | 필수 |
|---|---|---|
status | str | 예 |
account_status | str | null | 아니요 |
effective_at | str | null | 아니요 |
eligible | bool | null | 아니요 |
previous_plan_id | str | null | 아니요 |
target_plan_id | str | null | 아니요 |
A2A 예시
A2A 예시
요청:응답:
MCP 예시
MCP 예시
요청:응답:
billing.plan.change
billing.plan.change.
| 속성 | 값 | 속성 | 값 |
|---|---|---|---|
| 필요 권한 | billing.manage | 인증 필요 | 예 |
| 실행 모드 | sync | 기능 권한 | billing.manage |
| 리소스 유형 | account | 리소스 ID 필드 | account_id |
| 공개 API 경로 | POST /v1/public/accounts/{account_id}/billing/change-plan |
인수
인수
| 이름 | 유형 | 필수 |
|---|---|---|
account_id | str | 예 |
plan_id | "smtp_per_mailbox" | "smtp_per_proxy" | 예 |
effective_date | str | null | 아니요 |
반환값
반환값
| 필드 | 유형 | 필수 |
|---|---|---|
status | str | 예 |
account_status | str | null | 아니요 |
effective_at | str | null | 아니요 |
eligible | bool | null | 아니요 |
previous_plan_id | str | null | 아니요 |
target_plan_id | str | null | 아니요 |
A2A 예시
A2A 예시
요청:응답:
MCP 예시
MCP 예시
요청:응답:
billing.transactions.list
billing.transactions.list.
| 속성 | 값 | 속성 | 값 |
|---|---|---|---|
| 필요 권한 | billing.view | 인증 필요 | 예 |
| 실행 모드 | sync | 기능 권한 | billing.view |
| 리소스 유형 | account | 리소스 ID 필드 | account_id |
| 공개 API 경로 | GET /v1/public/accounts/{account_id}/billing/transactions |
인수
인수
| 이름 | 유형 | 필수 |
|---|---|---|
account_id | str | 예 |
page | int | 아니요 |
page_size | int | 아니요 |
반환값
반환값
| 필드 | 유형 | 필수 |
|---|---|---|
page | int | 예 |
page_size | int | 예 |
total | int | 예 |
items | [{"amount": str, "currency": str, "direction": str, "effective_at": str, "status": str, "transaction_id": str, "type": str, "balance_after"?: str | null, "description"?: str | null}] | 아니요 |
A2A 예시
A2A 예시
요청:응답:
MCP 예시
MCP 예시
요청:응답:
billing.wallet_balance.get
billing.wallet_balance.get.
| 속성 | 값 | 속성 | 값 |
|---|---|---|---|
| 필요 권한 | billing.view | 인증 필요 | 예 |
| 실행 모드 | sync | 기능 권한 | billing.view |
| 리소스 유형 | account | 리소스 ID 필드 | account_id |
| 공개 API 경로 | GET /v1/public/accounts/{account_id}/billing/wallet-balance |
인수
인수
| 이름 | 유형 | 필수 |
|---|---|---|
account_id | str | 예 |
반환값
반환값
| 필드 | 유형 | 필수 |
|---|---|---|
accrued_charges | str | 예 |
balance | str | 예 |
currency | str | 예 |
net_balance | str | 예 |
A2A 예시
A2A 예시
요청:응답:
MCP 예시
MCP 예시
요청:응답: