Klarna Web SDK v2
    Preparing search index...

    Interface AgenticConfig

    Provide agentic configuration to enable AI Agent-initiated payment flows. Use this field when the payment is initiated by an Agent with Agentic Privilege.

    future-release

    interface AgenticConfig {
        klarnaPaymentsMerchantId?: string;
        paymentAccountId?: string;
        protocolData: AgenticProtocolData;
    }
    Index
    klarnaPaymentsMerchantId?: string

    Klarna Payments Merchant Identifier of the Partner the Agent is targeting. Use only for a Partner that has no paymentAccountId.

    Provide exactly one of paymentAccountId or klarnaPaymentsMerchantId.

    "K123456"
    
    paymentAccountId?: string

    Identifies the payment account to charge, in KRN format. This is the Partner's Agentic identifier, targeted by the initiating Agent.

    Provide exactly one of paymentAccountId or klarnaPaymentsMerchantId.

    protocolData: AgenticProtocolData

    Protocol-specific configuration identifying which agentic protocol to use.