Skip to content
Stripe

Stripe discount_amount of zero: why the request fails

Stripe requires discount_amount to be greater than 0, at order level and on each line item. A discount of zero is rejected; when there is no discount, leave the field out. Order and line discounts are also mutually exclusive.

Last reviewed Nov 24, 2026
On this page

Mapping code often copies every field, empty or not, and a zero discount is the most common empty value. Stripe does not accept it.

The rule

Why it happens

Order systems store "no discount" as 0, and a mapper that sends every field passes it through.

Wrong and right

Wrong: a zero discount

{
  "amount": 10058,
  "currency": "usd",
  "amount_details": {
    "discount_amount": 0,
    "tax": { "total_tax_amount": 658 },
    "line_items": [
      { "product_name": "Hex bolts 3/8 in, zinc", "quantity": 200, "unit_cost": 35 },
      { "product_name": "Flat washers 3/8 in", "quantity": 200, "unit_cost": 12 }
    ]
  }
}

Right: no discount field

{
  "amount": 10058,
  "currency": "usd",
  "amount_details": {
    "tax": { "total_tax_amount": 658 },
    "line_items": [
      { "product_name": "Hex bolts 3/8 in, zinc", "quantity": 200, "unit_cost": 35 },
      { "product_name": "Flat washers 3/8 in", "quantity": 200, "unit_cost": 12 }
    ]
  }
}

What to do

  1. Send discount_amount only when it is above zero.
  2. When there is a discount, subtract it in the amount: lines plus tax plus shipping minus discount.

Sources

Check one transaction

Run this sale through the checker.

The sale from this page is already filled in. Press Check transaction, then change it to one of your own. No account needed.

Allow analytics cookies? Privacy