GET
/
openapi
/
v1
/
billing
/
bill
/
monthly
/
list
curl --request GET \
  --url https://api.ppinfra.com/openapi/v1/billing/bill/monthly/list \
  --header 'Authorization: <authorization>'
{
  "bills": [
    {
      "userId": "<string>",
      "memberId": "<string>",
      "startTime": "<string>",
      "endTime": "<string>",
      "productName": "<string>",
      "productCategory": "<string>",
      "ownerID": "<string>",
      "tradeMode": "<string>",
      "tradeType": "<string>",
      "basePrice": "<string>",
      "billNum": "<string>",
      "amount": "<string>",
      "voucherAmount": "<string>",
      "payAmount": "<string>",
      "payAmountDisplay": "<string>",
      "pricePrecision": "<string>",
      "createTime": "<string>",
      "cycle": "<string>",
      "storageDays": "<string>"
    }
  ]
}

请求头

Authorization
string
required

Bearer 身份验证格式,例如:Bearer {{API 密钥}}。

查询参数

category
string

产品类型。取值:

  • summary:总账单。
  • gpu:GPU 实例。
  • serverless:Serverless Endpoint。
  • cloud_storage:存储资源。
productName
string

产品名称。支持模糊匹配。

startTime
string

要查询的账单的开始时间。

endTime
string

要查询的账单的结束时间。

ownerId
string

指定 实例 ID 查询。

响应参数

bills
object[]
required

包年包月账单信息。