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
36 changes: 30 additions & 6 deletions bundled/minfraud.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

114 changes: 74 additions & 40 deletions components/minfraud-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,27 +208,44 @@ schemas:
verification_time:
$ref: "#/schemas/DateTime"
description: >-
The date and time of the most recent completed verification of the
email address, if known, in RFC 3339 date-time format. The value must
reflect the verification state as of the time of the event. Use the
time the verification succeeded or failed, for example the time the
user clicked the link, not the time you sent the link. Do not include
this field if no verification was attempted or no verification is
complete. 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.
The date and time that the end user completed the most recent
verification of this email address, if known, in RFC 3339 date-time
format. Use the time that the user completed the verification, for
example the time the user clicked the link. Do not use the time that
you sent the link.


Send this field only if `was_verification_successful` is `true`. The
value must reflect the verification state as of the time of the event.


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.
was_verification_successful:
type: boolean
description: >-
Whether the most recent completed verification that the end user
controls this email address was successful (e.g. by confirming a link
sent to the email address). The value must reflect the verification
state as of the time of the event. `true` if the email verification
was successful, or `false` if the user failed email verification. A
pending, abandoned, or expired verification is not complete and is not
a failure. If no verification is complete, for example because the
user has not clicked the link yet, do not include this field. Do not
include this field if you have not performed this check.
Whether the end user has verified that they control this email
address, as of the time of the event. For example, the user clicked a
link that you sent to the address.


Send `true` if your system considers this email address verified as of
the time of the event. An earlier completed verification still counts,
even if a newer attempt is pending or failed.


Send `false` if the email address is not verified as of the time of
the event. This includes an email address with no completed
verification, such as one with a pending verification or one that you
did not try to verify.


Leaving out this field is not equivalent to sending `false`. If your
system tracks email verification, send `true` or `false` for every
request that includes this email address. If your system does not
track email verification, leave this field out. The choice can affect
risk scores.
Address:
type: object
description: A billing or shipping address.
Expand Down Expand Up @@ -277,45 +294,62 @@ schemas:
- other
description: >-
The method used for the most recent completed verification of the
phone number. The value must reflect the verification state as of the
time of the event. Do not include this field if no verification was
attempted or no verification is complete.
phone number. If the phone number is not verified, you can send the
method of the most recent attempt if your system records it. Do not
include this field if you did not try to verify the phone number.


- `network`: carrier or SIM-based silent network authentication. No
code is sent to the device.

- `delivered_code`: a one-time code delivered to the phone number by
SMS, an automated voice call, or an over-the-top messaging channel
such as WhatsApp or RCS, and entered by the user.
such as WhatsApp or RCS, for the user to enter.

- `other`: a method not listed above, such as flash or missed call
verification, or a method you do not know because a third party
performed the check.
phone_verification_time:
$ref: "#/schemas/DateTime"
description: >-
The date and time of the most recent completed verification of the
phone number, if known, in RFC 3339 date-time format. The value must
reflect the verification state as of the time of the event. Use the
time the verification succeeded or failed, for example the time the
user entered the code, not the time you sent the code. Do not include
this field if no verification was attempted or no verification is
complete. 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.
The date and time that the end user completed the most recent
verification of the phone number, if known, in RFC 3339 date-time
format. Use the time that the user completed the verification, for
example the time the user entered the code. Do not use the time that
you sent the code.


Send this field only if `phone_was_verification_successful` is `true`.
The value must reflect the verification state as of the time of the
event.


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 completed verification that the end user
controls this phone number was successful, using the method named in
`phone_verification_method`. The value must reflect the verification
state as of the time of the event. `true` if the phone verification
was successful, or `false` if the user failed phone verification. A
pending, abandoned, or expired verification is not complete and is not
a failure. If no verification is complete, for example because the
user has not entered the code yet, do not include this field. Do not
include this field if you have not performed this check.
Whether the end user has verified that they control this phone number,
as of the time of the event.


Send `true` if your system considers this phone number verified as of
the time of the event. An earlier completed verification still counts,
even if a newer attempt is pending or failed.


Send `false` if the phone number is not verified as of the time of the
event. This includes a phone number with no completed verification,
such as one with a pending verification or one that you did not try to
verify.


Leaving out this field is not equivalent to sending `false`. If your
system tracks phone verification, send `true` or `false` for every
request that includes this phone number. If your system does not track
phone verification, leave this field out. The choice can affect risk
scores.
postal:
type: string
maxLength: 255
Expand Down