@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface ReportUsageResponse

    Response from report_usage. Partial acceptance is valid — records that pass validation are stored even when others fail.

    interface ReportUsageResponse {
        accepted: number;
        errors?: Error[];
        sandbox?: boolean;
        context?: ContextObject;
        ext?: ExtensionObject;
    }
    Index

    Properties

    accepted: number

    Number of usage records successfully stored.

    0

    errors?: Error[]

    Validation errors for individual records. The field property identifies which record failed (e.g., 'usage[1].pricing_option_id').

    sandbox?: boolean

    When true, the account is a sandbox account and no billing occurred.

    context?: ContextObject
    ext?: ExtensionObject