Skip to content

Commit d0ae3cc

Browse files
horghclaude
andcommitted
Add credit_application and fund_transfer event types
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c4e0908 commit d0ae3cc

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CHANGELOG
55
------------------
66

77
* Added `securepay` to the payment processor validation.
8+
* Added `credit_application` and `fund_transfer` to event type validation.
89

910
3.3.0 (2025-05-23)
1011
------------------

src/MinFraud.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ public function withDevice(
297297
* are:
298298
* - `account_creation`
299299
* - `account_login`
300+
* - `credit_application`
300301
* - `email_change`
302+
* - `fund_transfer`
301303
* - `password_reset`
302304
* - `payout_change`
303305
* - `purchase`
@@ -354,7 +356,9 @@ public function withEvent(
354356
if (!\in_array($type, [
355357
'account_creation',
356358
'account_login',
359+
'credit_application',
357360
'email_change',
361+
'fund_transfer',
358362
'password_reset',
359363
'payout_change',
360364
'purchase',

tests/MaxMind/Test/MinFraudTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,9 @@ public static function goodEventTypes(): array
11021102
return [
11031103
['account_creation'],
11041104
['account_login'],
1105+
['credit_application'],
11051106
['email_change'],
1107+
['fund_transfer'],
11061108
['password_reset'],
11071109
['payout_change'],
11081110
['purchase'],

0 commit comments

Comments
 (0)