Mayson Monorepo Documentation
    Preparing search index...
    Index

    Properties

    discount_amount?: Emptyable<number>

    The total discount applied on the transaction represented in the smallest currency unit. An integer greater than 0.

    This field is mutually exclusive with the amount_details[line_items][#][discount_amount] field.

    enforce_arithmetic_validation?: boolean

    Set to false to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.

    Omit or set to true to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.

    For card payments, Stripe doesn't send line item data if there's an arithmetic validation error to card networks.

    A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.

    Contains information about the shipping portion of the amount.

    Contains information about the tax portion of the amount.