Repository navigation
Add declineDescription to authorization decline events - #87
carjona-truss wants to merge 1 commit into
Conversation
Unit surfaces a specific decline cause (expired card, unactivated card, incorrect expiration) alongside the generic reason on authorization.declined and authorizationRequest.declined. Thread declineDescription through both event models so consumers can read it off event.attributes.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
bugbot run |
|
Skipping Bugbot: Bugbot is disabled for this repository. Visit the Bugbot dashboard to update your settings. |
|
Closing to focus the open queue on the exposure control plane, the tier upgrade engine, and Heron underwriting. The branch is retained — reopen if this is picked back up. |
Threads Unit's
declineDescriptionthroughAuthorizationDeclinedEventandAuthorizationRequestDeclinedEventso the specific decline cause (expired card, unactivated card, incorrect expiration) is readable offevent.attributesinstead of being dropped at parse time. Additive and nullable; existingreason/declineReasonhandling is untouched. Paired with the api consumer that persists and surfaces it.