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

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

29 changes: 23 additions & 6 deletions components/minfraud-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ schemas:
network. If you are testing the minFraud service, prefix your shop ID
with `test`, or set it to `test`.
time:
type: string
format: date-time
pattern: "^\\d{4}-\\d{2}-\\d{2}T([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d+)?(Z|[+-]([01]\\d|2[0-3]):[0-5]\\d)$"
$ref: "#/schemas/DateTime"
description: >-
The time the event occurred, in RFC 3339 format. If you omit this
field, MaxMind uses the time it receives the request. MaxMind does not
Expand Down Expand Up @@ -207,6 +205,22 @@ schemas:
The domain of the email address. Do not include the `@`. You do not
need to send this field unless you send the email address as an MD5
hash.
verification_time:
$ref: "#/schemas/DateTime"
description: >-
The most recent date and time a verification of the email address was
attempted, if known, 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.
was_verification_successful:
type: boolean
description: >-
Whether the most recent verification that the end user controls this
email address was successful (e.g. by confirming a link sent to the
email address). `true` if the email verification was successful, or
`false` if the user failed email verification. Do not include this
field if you have not performed this check.
Address:
type: object
description: A billing or shipping address.
Expand Down Expand Up @@ -269,9 +283,7 @@ schemas:
verification, or a method you do not know because a third party
performed the check.
phone_verification_time:
type: string
format: date-time
pattern: "^\\d{4}-\\d{2}-\\d{2}T([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d+)?(Z|[+-]([01]\\d|2[0-3]):[0-5]\\d)$"
$ref: "#/schemas/DateTime"
description: >-
The most recent date and time a verification of the phone number was
attempted, if known, in RFC 3339 date-time format. The time must not
Expand Down Expand Up @@ -775,3 +787,8 @@ schemas:
description: >-
The transaction ID you gave in the original minFraud request. It must
not contain a NUL character.
DateTime:
type: string
format: date-time
pattern: "^\\d{4}-\\d{2}-\\d{2}T([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(\\.\\d+)?(Z|[+-]([01]\\d|2[0-3]):[0-5]\\d)$"
description: An RFC 3339 date-time.
2 changes: 2 additions & 0 deletions examples/minfraud/request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ value:
email:
address: 977577b140bfb7c516e4746204fbdb01
domain: maxmind.com
verification_time: "2026-10-01T14:25:00Z"
was_verification_successful: true
event:
party: customer
shop_id: s2123
Expand Down
Loading