Skip to content

Conversation

@in2q
Copy link

@in2q in2q commented Aug 4, 2025

Add support for 5 new card fraud case event types:

  • CardFraudCaseCreatedEvent (card.fraudCase.created)
  • CardFraudCaseActivatedEvent (card.fraudCase.activated)
  • CardFraudCaseExpiredEvent (card.fraudCase.expired)
  • CardFraudCaseFraudEvent (card.fraudCase.fraud)
  • CardFraudCaseNoFraudEvent (card.fraudCase.noFraud)

Each event includes status, decision, activityType, and expiresAt attributes to support comprehensive fraud case handling.

Add support for 5 new card fraud case event types:
- CardFraudCaseCreatedEvent (card.fraudCase.created)
- CardFraudCaseActivatedEvent (card.fraudCase.activated)
- CardFraudCaseExpiredEvent (card.fraudCase.expired)
- CardFraudCaseFraudEvent (card.fraudCase.fraud)
- CardFraudCaseNoFraudEvent (card.fraudCase.noFraud)

Each event includes status, decision, activityType, and expiresAt attributes
to support comprehensive fraud case handling.
def __init__(self, id: str, created_at: datetime, status: str, decision: str, activity_type: str,
expires_at: datetime, tags: Optional[Dict[str, str]], relationships: Optional[Dict[str, Relationship]]):
BaseEvent.__init__(self, id, created_at, tags, relationships)
self.type = 'card.fraudCase.created'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like the naming convention is cardFraudCase.{status}

Copy link
Collaborator

@avesk avesk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@in2q in2q merged commit 671bbb2 into master Aug 8, 2025
1 check failed
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.

3 participants