查询流水账单详情
1. 接口描述
调用 DescribeFlowBill 接口查询指定流水账单的详细信息。
2. 请求参数
名称 | 类型 | 是否必选 | 描述 |
---|---|---|---|
Action | String | 是 | 固定取值:DescribeFlowBill |
BillUUID | String | 是 | 账单ID |
3. 返回数据
名称 | 类型 | 说明 |
---|---|---|
FlowBillDetail | FlowBillDetail | 流水账单详情 |
RequestId | String | 请求ID |
4. 示例
请求示例
https://openapi.kaopuyun.com/?AccessKeyId=sz0000ei53aw
&Action=DescribeFlowBill
&Format=JSON
&BillUUID=s70000000rfc
&SignatureMethod=HMAC-SHA1
&SignatureNonce=76a5d5e7-0992-462d-9a26-916650eca00f
&SignatureVersion=1.0
&Timestamp=2023-03-09T07%3A33%3A56Z
&Version=2014-05-26
&Signature=LH5UYKO7k%2FeQlyLH3p169uyRKyU%3D
正常返回示例
{
"RequestId":"742fbe80-0ea9-11eb-9b36-0208cb7f7896",
"FlowBillDetail":{
"BillType":"RENEW_PRODUCT",
"BillUUID":"s70000000rfc",
"UnPayAmount":0.0,
"ResourceName":"42.16.155.180",
"CreateTime":"2022-10-25 10:00",
"PoundageBillDetails":[
],
"ProductType":"OWN_EIP",
"BillStatus":"CLEARED",
"ResourceUUID":"eip-2w000004cr3h",
"PayPrice":50.0,
"PurchaseTimes":"1个月",
"BillBeginTime":"2022-10-30 00:00",
"TotalPrice":50.0,
"UnsubscribeBillDetails":[
],
"PaymentType":"PRE_PAID",
"PayTime":"2022-10-25 10:00",
"ProductConfigInfo":"{\"bandwidthType\":\"TELE\",\"instanceChargeType\":\"PrePaid\",\"origProdConfigJson\":{\"bandwidthType\":\"TELE\",\"instanceChargeType\":\"PostPaid\",\"chargeMode\":\"PayByTraffic\",\"bandwidth\":1,\"instanceType\":\"Normal\",\"autoRenew\":\"Infinite\",\"region\":\"cn-fuzhou-6\"},\"chargeMode\":\"PayByBandwidth\",\"bandwidth\":2,\"instanceType\":\"Normal\",\"autoRenew\":\"Infinite\",\"region\":\"cn-fuzhou-6\"}",
"BillEndTime":"2022-11-29 23:59"
}
}
5. 错误码
错误码 | 错误信息 |
---|---|
DescribeFlowBillFail | 查询流水账单详情失败:xxx |
MissingParameter | BillUUID 参数不能为空 |