You need to enable JavaScript to run this app.
导航
ListBillOverviewByCategory - 查询账单总览-账号汇总信息
最近更新时间:2024.06.12 11:34:18首次发布时间:2023.12.06 17:34:09

查询账单总览-账号汇总信息

调试

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

ListBillOverviewByCategory

要执行的操作,取值:ListBillOverviewByCategory。

Version
String

2022-01-01

API的版本,取值:2022-01-01。

BillingMode
Array of String

[1]

计费模式:1:包年包月;2:按量计费;3:合同计费;4:履约计费;默认不选为全部

BillCategoryParent
Array of String

[consume]

账单大类类型:consume:消费;refund:退款;transfer:调账;默认不选为全部;

PayerID
Array of Long

[2100057673]

Payer账号ID

OwnerID
Array of Long

[2100057673]

Owner账号ID

BillPeriod
String

2023-03

账期

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
List
Array of BillOverviewByCategoryByPayerList

账单总览-账号汇总总列表

请求示例

POST /?Action=ListBillOverviewByCategory&Version=2022-01-01 HTTP/1.1
Host: https://open.volcengineapi.com?Action= ListBillOverviewByCategory&Version=2022-01-01
Content-Type: application/json; charset=UTF-8
X-Date: 20240510T081346Z
X-Content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240510/cn-beijing/billing/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f

{
  "BillPeriod": "2023-03"
}

返回示例

{
    "ResponseMetadata":{
        "RequestId":"202302151509010207BA7B59BCEA6513BD",
        "Action":"ListBillOverviewByCategory",
        "Version":"2022-01-01",
        "Service":"billing",
        "Region":"cn-north-1"
    },
 "Result":{
        "List": [
            {
                  "List":[
                    {
                        "PayerID": "2100057673",
                        "PayerUserName": "weitest009",
                        "PayerCustomerName": "俊杰1",
                        "BusinessMode": "普通业务",
                        "BillPeriod": "2023-11",
                        "BillCategoryParent": "消费",
                        "SubjectNo": "3423",
                        "SellerID": "3423",
                        "SellerUserName": "火山引擎",
                        "SellerCustomerName": "北京火山引擎科技有限公司",
                        "OwnerID": "2100057673",
                        "OwnerUserName": "weitest009",
                        "OwnerCustomerName": "俊杰1",
                        "SettlementType": "结算",
                        "SubjectName": "北京火山引擎科技有限公司",
                        "CountryArea": "",
                        "OriginalBillAmount": "437.946904",
                        "DiscountBillAmount": "437.94",
                        "CouponAmount": "0.00",
                        "PayableAmount": "437.94",
                        "PaidAmount": "0.00",
                        "UnpaidAmount": "437.94",
                        "CreditCarriedAmount": "0.00"
                    }
                  ]
            }
    }
}

错误码

您可访问公共错误码,获取更多错误码信息。