Driftwatch

Square / Square API /

Breaking

refund_requires_card_presence changed type

What changed

Serialization mismatch. Integer-to-string moves are the usual cause and the usual outage.

Affects CardPaymentDetails reachable from 6 operations.

boolean|null → boolean

Who is affected

Code that sends Square's CardPaymentDetails objects, used by 6 Square operations.

Before and after

WhereBeforeAfter
CardPaymentDetails.refund_requires_card_presenceboolean|nullboolean

Code that breaks

// payload.refund_requires_card_presence
// was: boolean|null
// now: boolean

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