Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ CHANGELOG
------------------

* Added `securepay` to the payment processor validation.
* Added `credit_application` and `fund_transfer` to event type validation.
* Added `credit_application`, `fund_transfer`, and `sim_swap` to event type
validation.
* Added the input `/event/party`. This is the party submitting the
transaction.
* Added the input `/payment/method`. This is the payment method associated
Expand Down
2 changes: 2 additions & 0 deletions src/MinFraud.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ public function withDevice(
* - `purchase`
* - `recurring_purchase`
* - `referral`
* - `sim_swap`
* - `survey`
* @param string|null $party The party submitting the transaction. The valid values
* are:
Expand Down Expand Up @@ -377,6 +378,7 @@ public function withEvent(
'purchase',
'recurring_purchase',
'referral',
'sim_swap',
'survey',
], true)) {
$this->maybeThrowInvalidInputException("$type is not a valid event type");
Expand Down