Driftwatch

Square / Square API /

Additive

Response type narrowed

What changed

A tighter guarantee, not a break. Every value you can receive now was already possible, so existing handling still covers it; a null check here may now be dead code.

Affects CardPaymentDetails reachable from 6 operations.

boolean|null → boolean

Who is affected

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

Before and after

WhereBeforeAfter
CardPaymentDetails.refund_requires_card_presenceboolean|nullboolean

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