Skip to content

Add declineDescription to authorization decline events - #87

Draft
carjona-truss wants to merge 1 commit into
masterfrom
cj/card-decline-description
Draft

Add declineDescription to authorization decline events#87
carjona-truss wants to merge 1 commit into
masterfrom
cj/card-decline-description

Conversation

@carjona-truss

Copy link
Copy Markdown

Threads Unit's declineDescription through AuthorizationDeclinedEvent and AuthorizationRequestDeclinedEvent so the specific decline cause (expired card, unactivated card, incorrect expiration) is readable off event.attributes instead of being dropped at parse time. Additive and nullable; existing reason/declineReason handling is untouched. Paired with the api consumer that persists and surfaces it.

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.
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: bb910e07-2a90-44d9-a49d-2cc3ffe37f1a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@carjona-truss

Copy link
Copy Markdown
Author

bugbot run

@cursor

cursor Bot commented Aug 12, 2026

Copy link
Copy Markdown

Skipping Bugbot: Bugbot is disabled for this repository. Visit the Bugbot dashboard to update your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant