Driftwatch

Square / Square API /

Breaking

auth_result_code changed type

What changed

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

Affects CardPaymentDetails reachable from 6 operations.

null|string → string

Who is affected

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

Before and after

WhereBeforeAfter
CardPaymentDetails.auth_result_codenull|stringstring

Code that breaks

// payload.auth_result_code
// was: null|string
// now: string

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