Driftwatch

Stripe / Stripe API /

Additive

Request property enforce_arithmetic_validation added

What changed

No action needed unless it is required.

Affects POST /v1/payment_intents.

Who is affected

Code that sends POST /v1/payment_intents (amount_details.enforce_arithmetic_validation).

Before and after

WhereBeforeAfter
POST /v1/payment_intents · amount_details.enforce_arithmetic_validationabsentpresent
POST /v1/payment_intents/{intent} · amount_details.enforce_arithmetic_validationabsentpresent
POST /v1/payment_intents/{intent}/confirm · amount_details.enforce_arithmetic_validationabsentpresent
POST /v1/payment_intents/{intent}/increment_authorization · amount_details.enforce_arithmetic_validationabsentpresent
POST /v1/payment_intents/{intent}/capture · amount_details.enforce_arithmetic_validationabsentpresent

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