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

    Interface ListAccountsRequest

    Request parameters for listing accounts accessible to the authenticated agent

    interface ListAccountsRequest {
        adcp_major_version?: number;
        status?:
            | "active"
            | "pending_approval"
            | "rejected"
            | "payment_required"
            | "suspended"
            | "closed";
        pagination?: PaginationRequest;
        sandbox?: boolean;
        context?: ContextObject;
        ext?: ExtensionObject;
    }
    Index

    Properties

    adcp_major_version?: number

    The AdCP major version the buyer's payloads conform to. Sellers validate against their supported major_versions and return VERSION_UNSUPPORTED if unsupported. When omitted, the seller assumes its highest supported version.

    1

    99

    status?:
        | "active"
        | "pending_approval"
        | "rejected"
        | "payment_required"
        | "suspended"
        | "closed"

    Filter accounts by status. Omit to return accounts in all statuses.

    pagination?: PaginationRequest
    sandbox?: boolean

    Filter by sandbox status. true returns only sandbox accounts, false returns only production accounts. Omit to return all accounts. Primarily used with explicit accounts (require_operator_auth: true) where sandbox accounts are pre-existing test accounts on the platform.

    context?: ContextObject
    ext?: ExtensionObject