Skip to content

Get Billing Information



GET /api/v1/billing/detail/list

Overview

Query Parameters

Parameter Name Type Required Description
startDate string Billing start date. Format: YYYYMMDD
Example: 20230731
Allow empty: False
endDate string Billing end date. Format: YYYYMMDD
Example: 20230731
Allow empty: False

Parameter Details

Response parameter description:

content Main Structure Description

Parameter Name Parameter Description
consumeTimeOfDay Billing consumption time
orgName Billing Center organization name. Can be ignored.
productName Product name. Fixed as dataFlux.
productDetail Product details
billingKey Key for the billing category
billingCycle Billing cycle. Day, Month, Year, Single.
billingResult Amount payable
deductionAmount Deduction amount
oweAmount Arrears amount
originAmount Original price
serviceBillingAmount Service Charges. Can be ignored.
couponAmount Voucher deduction
storedCardAmount Stored value card deduction
cashAmount Cash deduction
cashCouldAmount Cloud market deduction
commodityCategory Product type. Subscription, Pay-As-You-Go.
consumePlatform Settlement method
customerIdentifier Cloud market account
consumption Can be ignored
workspaceUuid Workspace uuid
workspaceName Workspace name
consumeTime Consumption timestamp
billingResultDetails Can be ignored
count Usage volume

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? ×