Klarna Web SDK v2
    Preparing search index...

    Interface PartialShippingAddress

    Partial shipping address of the customer. This enables the merchant to evaluate the shipping options and whether they are available to the customer. The full shipping address is provided under the stateContext.shipping object after the customer approves the purchase.

    interface PartialShippingAddress {
        city: string;
        country: string;
        postalCode?: string;
        region?: string;
    }
    Index

    Properties

    city: string

    City/town, more precise than region.

    Columbus
    
    country: string

    2-letter ISO 3166 country code

    US
    
    postalCode?: string

    Postal code formatted to the specification of the country specified in the country field.

    43215
    
    region?: string

    Region formatted to the specification of the country specified by the country field.

    The region should be set to the state (ex. US), county, borough, or municipality depending on the addressing standards of the country.

    OH