curl --request GET \
--url 'https://api.ppio.com/openapi/v1/billing/monthly/bill?startMonth=2025-10&page=1&pageSize=20' \
--header 'Authorization: Bearer <API_KEY>'
{
"data": [
{
"billId": "<string>",
"userId": "<string>",
"billingMonth": "2026-09",
"originAmountDecimal": "120.000019",
"totalAmountDecimal": "100.000019",
"voucherPayAmountDecimal": "20",
"cashPayAmountDecimal": "80",
"debtAmountDecimal": "0",
"repaidAmountDecimal": "0",
"taxAmountDecimal": "0",
"grossAmountDecimal": "100.000019",
"precisionDiffDecimal": "0.000019",
"taxAmount": "0",
"grossAmount": "10000",
"totalAmount": "1000000",
"originTotalAmount": "1200000",
"voucherPayAmount": "200000",
"cashPayAmount": "800000",
"debtAmount": "0",
"status": "paid",
"invoiceUrl": "",
"startTime": "1788192000",
"endTime": "1790783999",
"repaidAmount": "0"
}
]
}
账单管理
查询月账单明细
PPIO 管理 API 文档说明“查询月账单明细”的使用方式,帮助开发者核对月度服务使用与费用构成,了解相关请求与结果处理。
GET
/
openapi
/
v1
/
billing
/
monthly
/
bill
curl --request GET \
--url 'https://api.ppio.com/openapi/v1/billing/monthly/bill?startMonth=2025-10&page=1&pageSize=20' \
--header 'Authorization: Bearer <API_KEY>'
{
"data": [
{
"billId": "<string>",
"userId": "<string>",
"billingMonth": "2026-09",
"originAmountDecimal": "120.000019",
"totalAmountDecimal": "100.000019",
"voucherPayAmountDecimal": "20",
"cashPayAmountDecimal": "80",
"debtAmountDecimal": "0",
"repaidAmountDecimal": "0",
"taxAmountDecimal": "0",
"grossAmountDecimal": "100.000019",
"precisionDiffDecimal": "0.000019",
"taxAmount": "0",
"grossAmount": "10000",
"totalAmount": "1000000",
"originTotalAmount": "1200000",
"voucherPayAmount": "200000",
"cashPayAmount": "800000",
"debtAmount": "0",
"status": "paid",
"invoiceUrl": "",
"startTime": "1788192000",
"endTime": "1790783999",
"repaidAmount": "0"
}
]
}
请求头
查询参数
当前生产环境会补齐从
startMonth 起的月份,返回数量可能不会严格等于 pageSize。金额精度说明
所有 Decimal 金额字段均为十进制字符串,单位为元,最多 12 位小数,末尾去 0。 旧整数金额字段仍保留兼容,JSON 中以字符串返回,现标记为【弃用】。除taxAmount、grossAmount 的单位为分外,其余旧金额字段的单位均为 1/10000 元;Decimal 字段无需进行这些单位换算,使用前不要再次除以 10000。
响应参数
月账单明细列表。
隐藏 properties
隐藏 properties
精度损失金额,等于
max(totalAmountDecimal - voucherPayAmountDecimal - cashPayAmountDecimal - debtAmountDecimal, 0);仅 2026-07 及之后账期可能为非零,更早账期及超付情况返回 "0"。十进制字符串,单位为元。curl --request GET \
--url 'https://api.ppio.com/openapi/v1/billing/monthly/bill?startMonth=2025-10&page=1&pageSize=20' \
--header 'Authorization: Bearer <API_KEY>'
{
"data": [
{
"billId": "<string>",
"userId": "<string>",
"billingMonth": "2026-09",
"originAmountDecimal": "120.000019",
"totalAmountDecimal": "100.000019",
"voucherPayAmountDecimal": "20",
"cashPayAmountDecimal": "80",
"debtAmountDecimal": "0",
"repaidAmountDecimal": "0",
"taxAmountDecimal": "0",
"grossAmountDecimal": "100.000019",
"precisionDiffDecimal": "0.000019",
"taxAmount": "0",
"grossAmount": "10000",
"totalAmount": "1000000",
"originTotalAmount": "1200000",
"voucherPayAmount": "200000",
"cashPayAmount": "800000",
"debtAmount": "0",
"status": "paid",
"invoiceUrl": "",
"startTime": "1788192000",
"endTime": "1790783999",
"repaidAmount": "0"
}
]
}
最后修改于 2026年10月21日