@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface CheckoutResponse

    interface CheckoutResponse {
        cart?: StorefrontCart;
        checkoutKey?: string;
        clientSecret?: string;
        clientToken?: string;
        html_snippet?: string;
        integrationType?: string;
        orderId?: string;
        orderNumber?: string;
        paymentId?: string;
        paymentMethodCategories?: {
            identifier: string;
            name?: string;
            [key: string]: unknown;
        }[];
        provider: | string & {}
        | "kustomCheckout"
        | "stripeCheckout"
        | "nexiCheckout"
        | "klarnaV3"
        | "invoice"
        | "invoiceBankID"
        | "cash"
        | "custom";
        sessionId?: string;
        url?: string;
    }
    Index
    checkoutKey?: string
    clientSecret?: string

    Stripe embedded checkout.

    clientToken?: string

    Klarna Payments: pass to Klarna.Payments.init({ client_token }).

    html_snippet?: string

    Kustom Checkout: the iframe snippet to inject.

    integrationType?: string
    orderId?: string

    Kustom: the Kustom order id. Direct methods: the created Avvyr order.

    orderNumber?: string

    Direct methods: the created order's number.

    paymentId?: string

    Nexi.

    paymentMethodCategories?: {
        identifier: string;
        name?: string;
        [key: string]: unknown;
    }[]
    provider:
        | string & {}
        | "kustomCheckout"
        | "stripeCheckout"
        | "nexiCheckout"
        | "klarnaV3"
        | "invoice"
        | "invoiceBankID"
        | "cash"
        | "custom"
    sessionId?: string

    Stripe Checkout session id / Klarna Payments session id.

    url?: string

    Hosted payment page to redirect to (Stripe hosted, Nexi HostedPaymentPage).