Skip to content

Commit 524091e

Browse files
committed
Add sim_swap event type
1 parent 205ac99 commit 524091e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

HISTORY.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ History
1111
* Setuptools has been replaced with the uv build backend for building the
1212
package.
1313
* Added ``securepay`` to the ``/payment/processor`` validation.
14-
* Added ``credit_application`` and ``fund_transfer`` to the ``/event/type``
15-
validation.
14+
* Added ``credit_application``, ``fund_transfer``, and ``sim_swap`` to the
15+
``/event/type`` validation.
1616
* Added the input ``/event/party``. This is the party submitting the
1717
transaction.
1818
* Added the input ``/payment/method``. This is the payment method associated

src/minfraud/validation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ def _credit_card_token(s: str) -> str:
311311
"purchase",
312312
"recurring_purchase",
313313
"referral",
314+
"sim_swap",
314315
"survey",
315316
],
316317
)

0 commit comments

Comments
 (0)