Driftwatch

Stripe / Stripe API /

Breakingdirection flip: their tools call this safe

amount is no longer accepted

What changed

Usually ignored rather than rejected, so the call succeeds and does something subtly different.

Affects amount on POST /v1/terminal/refunds. Grep for it: nothing else will tell you.

Who is affected

Code that sends POST /v1/terminal/refunds (amount).

Before and after

WhereBeforeAfter
POST /v1/terminal/refunds · amountpresentabsent
POST /v1/terminal/refunds · chargepresentabsent
POST /v1/terminal/refunds · metadatapresentabsent
POST /v1/terminal/refunds · payment_intentpresentabsent
POST /v1/terminal/refunds · reasonpresentabsent
POST /v1/terminal/refunds · refund_application_feepresentabsent
POST /v1/terminal/refunds · reverse_transferpresentabsent

Code that breaks

await client.post("/v1/terminal/refunds", {
  // amount is now ignored, not rejected
  amount: value,
});

Based on Stripe’s published API specification. How severity is decided.