@adcp/client API Reference - v4.19.0
    Preparing search index...

    Interface AccountCapabilities

    Account management capabilities declared by the seller

    interface AccountCapabilities {
        requireOperatorAuth: boolean;
        authorizationEndpoint?: string;
        supportedBilling: ("operator" | "agent" | "brand")[];
        defaultBilling?: "operator" | "agent" | "brand";
        requiredForProducts: boolean;
        sandbox: boolean;
    }
    Index

    Properties

    requireOperatorAuth: boolean

    Whether the seller requires operator-level credentials. When false (default), the agent authenticates once and declares brands/operators via sync_accounts. When true, each operator must authenticate independently.

    authorizationEndpoint?: string

    OAuth authorization endpoint for obtaining operator-level credentials. Present when the seller supports OAuth for operator authentication. May be absent even when requireOperatorAuth is true — in that case, operators obtain credentials out-of-band (e.g., seller portal, API key).

    supportedBilling: ("operator" | "agent" | "brand")[]

    Billing models this seller supports (e.g., 'operator', 'agent').

    defaultBilling?: "operator" | "agent" | "brand"

    Default billing model applied when omitted from sync_accounts.

    requiredForProducts: boolean

    Whether an active account is required before calling get_products.

    sandbox: boolean

    Whether the seller supports sandbox accounts for testing. For implicit accounts (require_operator_auth: false), declare sandbox via sync_accounts with sandbox: true and reference by natural key. For explicit accounts (require_operator_auth: true), discover pre-existing test accounts via list_accounts.