Skip to content

Commit 33b785a

Browse files
committed
Add sim_swap event type
1 parent 9ab1209 commit 33b785a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ CHANGELOG
55
------------------
66

77
* Added `securepay` to the payment processor validation.
8-
* Added `credit_application` and `fund_transfer` to event type validation.
8+
* Added `credit_application`, `fund_transfer`, and `sim_swap` to event type
9+
validation.
910
* Added the input `/event/party`. This is the party submitting the
1011
transaction.
1112
* Added the input `/payment/method`. This is the payment method associated

src/MinFraud.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ public function withDevice(
305305
* - `purchase`
306306
* - `recurring_purchase`
307307
* - `referral`
308+
* - `sim_swap`
308309
* - `survey`
309310
* @param string|null $party The party submitting the transaction. The valid values
310311
* are:
@@ -377,6 +378,7 @@ public function withEvent(
377378
'purchase',
378379
'recurring_purchase',
379380
'referral',
381+
'sim_swap',
380382
'survey',
381383
], true)) {
382384
$this->maybeThrowInvalidInputException("$type is not a valid event type");

0 commit comments

Comments
 (0)