You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove jurisdiction_restricted from FIXABLE_DENIAL_REASONS
The API only emits jurisdiction_restricted AFTER KYC is verified — meaning the
user's KYC'd country is in the merchant's blocked list (or absent from the
allowed list). Re-doing KYC won't change the country, so it's permanent. Same
shape as sanctions_flagged / age_insufficient — should surface contact_support,
not bootstrap a doomed verification session.
Also flips empty/None reasons to return False (don't bootstrap on unknown deny —
default to bare denial). Updates the canonical wallet_not_trusted instructions
copy and all six adapter comments to spell out the API-side rationale.
Tests updated: jurisdiction_restricted now in the unfixable bucket alongside
sanctions/age, empty reasons returns False.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments