Mayson Monorepo Documentation
    Preparing search index...
    interface ShippingCost {
        amount: number;
        amount_tax: number;
        shipping_rate?: string;
        tax_behavior: Stripe.Tax.Transaction.ShippingCost.TaxBehavior;
        tax_breakdown?: Stripe.Tax.Transaction.ShippingCost.TaxBreakdown[];
        tax_code: string;
    }
    Index

    Properties

    amount: number

    The shipping amount in the smallest currency unit. If tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.

    amount_tax: number

    The amount of tax calculated for shipping, in the smallest currency unit.

    shipping_rate?: string

    The ID of an existing ShippingRate.

    Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.

    Detailed account of taxes relevant to shipping cost. (It is not populated for the transaction resource object and will be removed in the next API version.)

    tax_code: string

    The tax code ID used for shipping.