Shopee SDK API Reference - v1.11.0
    Preparing search index...

    Interface GetTotalBalanceResponse

    Response for the get total balance API

    interface GetTotalBalanceResponse {
        error: string;
        message: string;
        request_id: string;
        response: { data_timestamp: number; total_balance: number };
        warning?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    error: string

    Error code if any error occurred

    message: string

    Error message if any error occurred

    request_id: string

    The identifier for an API request for error tracking

    response: { data_timestamp: number; total_balance: number }

    Type Declaration

    • data_timestamp: number

      Timestamp indicating when the total balance snapshot was taken

    • total_balance: number

      Seller's total ads credit balance, including paid credits and free credits

    warning?: string

    Optional warning message if some data cannot be responded normally