Skip to content

Get Billing Information



GET /api/v1/billing/detail/list

Overview

Query Request Parameters

Parameter Name Type Required Description
startDate string Billing start date Format: 20230731
Example: 20230731
Can be empty: False
endDate string Billing end date Format: 20230731
Example: 20230731
Can be empty: False

Supplementary Parameter Explanation

Return parameter explanation:

content main structure explanation

Parameter Name Parameter Description
consumeTimeOfDay Billing consumption time
orgName Billing Center organization name Can be ignored
productName Product name Fixed dataFlux
productDetail Product details
billingCycle Billing cycle By day, by month, by year, single Day, Month, Year, Single
billingResult Amount due
deductionAmount Deduction amount
oweAmount Unpaid amount
originAmount Original price
serviceBillingAmount Service Charges Can be ignored
couponAmount Coupon deduction
storedCardAmount Stored card deduction
cashAmount Cash deduction
cashCouldAmount Cloud market deduction
commodityCategory Product types Annual subscription, pay-as-you-go
consumePlatform Billing method
customerIdentifier Cloud Market account
consumption Can be ignored
workspaceUuid Workspace uuid
workspaceName Workspace name
consumeTime Consumption timestamp
tag6 Measurement name
billingResultDetails Can be ignored
count Usage

Request Example

curl 'https://openapi.guance.com/api/v1/billing/detail/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--compressed

Response

{
    "code": 200,
    "content": [
        {
            "consumeTimeOfDay": "2023-07-31",
            "orgName": "None",
            "productName": "None",
            "productDetail": "SESSION REPLAY",
            "billingCycle": "None",
            "billingResult": 0,
            "deductionAmount": "None",
            "oweAmount": "None",
            "originAmount": 0,
            "serviceBillingAmount": "None",
            "couponAmount": "None",
            "storedCardAmount": "None",
            "cashAmount": "None",
            "cashCouldAmount": "None",
            "commodityCategory": "None",
            "consumePlatform": "None",
            "customerIdentifier": "None",
            "consumption": "None",
            "workspaceUuid": "None",
            "workspaceName": "None",
            "consumeTime": "None",
            "tag6": "session_replay",
            "billingResultDetails": "None",
            "count": 0
        }
    ],
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-192EB1B1-ACBA-4942-A4F1-34A1A9F93C0C"
} 

Feedback

Is this page helpful? ×