diff --git a/bundled/minfraud.yaml b/bundled/minfraud.yaml index ebfa7fc..0a58be1 100644 --- a/bundled/minfraud.yaml +++ b/bundled/minfraud.yaml @@ -550,6 +550,25 @@ components: type: string maxLength: 255 description: The phone number, without the country code. MaxMind strips punctuation characters. After that, the number must contain only digits. + phone_verification_method: + type: string + enum: + - delivered_code + - network + - other + description: |- + The most recent method used to verify the phone number. + + - `delivered_code`: a code delivered to the phone, such as by SMS, voice call, or messaging app. + - `network`: verification through the mobile network operator, such as silent network authentication. + - `other`: another verification method. + phone_verification_time: + type: string + format: date-time + description: The date and time of the most recent verification of the phone number, in RFC 3339 date-time format. The time must not be before 1970-01-01T00:00:00Z or more than two days in the future. For a time outside this range, MaxMind ignores the input and returns a warning. + phone_was_verification_successful: + type: boolean + description: Whether the most recent verification of the phone number succeeded. Omit this field if no verification was attempted. postal: type: string maxLength: 255 @@ -1901,6 +1920,9 @@ components: last_name: Doe phone_country_code: '1' phone_number: 203-000-0000 + phone_verification_method: delivered_code + phone_verification_time: '2026-10-01T14:30:00Z' + phone_was_verification_successful: true postal: '06511' region: CT credit_card: @@ -1956,6 +1978,9 @@ components: last_name: Doe phone_country_code: '1' phone_number: 203-000-0000 + phone_verification_method: delivered_code + phone_verification_time: '2026-10-01T14:35:00Z' + phone_was_verification_successful: true postal: '06515' region: CT shopping_cart: diff --git a/components/minfraud-request.yaml b/components/minfraud-request.yaml index 36b3f8e..32535c8 100644 --- a/components/minfraud-request.yaml +++ b/components/minfraud-request.yaml @@ -246,6 +246,36 @@ schemas: description: >- The phone number, without the country code. MaxMind strips punctuation characters. After that, the number must contain only digits. + phone_verification_method: + type: string + enum: + - delivered_code + - network + - other + description: >- + The most recent method used to verify the phone number. + + + - `delivered_code`: a code delivered to the phone, such as by SMS, + voice call, or messaging app. + + - `network`: verification through the mobile network operator, such as + silent network authentication. + + - `other`: another verification method. + phone_verification_time: + type: string + format: date-time + description: >- + The date and time of the most recent verification of the phone number, + in RFC 3339 date-time format. The time must not be before + 1970-01-01T00:00:00Z or more than two days in the future. For a time + outside this range, MaxMind ignores the input and returns a warning. + phone_was_verification_successful: + type: boolean + description: >- + Whether the most recent verification of the phone number succeeded. + Omit this field if no verification was attempted. postal: type: string maxLength: 255 diff --git a/examples/minfraud/request.yaml b/examples/minfraud/request.yaml index faa4c49..5192029 100644 --- a/examples/minfraud/request.yaml +++ b/examples/minfraud/request.yaml @@ -13,6 +13,9 @@ value: last_name: Doe phone_country_code: "1" phone_number: 203-000-0000 + phone_verification_method: delivered_code + phone_verification_time: "2026-10-01T14:30:00Z" + phone_was_verification_successful: true postal: "06511" region: CT credit_card: @@ -70,6 +73,9 @@ value: last_name: Doe phone_country_code: "1" phone_number: 203-000-0000 + phone_verification_method: delivered_code + phone_verification_time: "2026-10-01T14:35:00Z" + phone_was_verification_successful: true postal: "06515" region: CT shopping_cart: