-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1149 from maxmind/greg/add-phone-outputs
Add billing_phone and shipping_phone minFraud outputs
- Loading branch information
Showing
7 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
content/minfraud/api-documentation/_schemas/ResponseBillingPhone.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import responseJson from '../_examples/response'; | ||
|
||
<MinFraudSchema | ||
json={responseJson.billing_phone} | ||
jsonPointer="/billing_phone" | ||
name="Response | Billing Phone" | ||
services={[ | ||
'insights', | ||
'factors', | ||
]} | ||
> | ||
<Property | ||
name="country" | ||
> | ||
A two-character [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country code for the country associated with the billing phone number. | ||
</Property> | ||
|
||
<Property | ||
name="network_operator" | ||
> | ||
The name of the original network operator associated with the billing phone number. This field does not reflect phone numbers that have been ported from the original operator to another, nor does it identify [mobile virtual network operators](https://en.wikipedia.org/wiki/Mobile_virtual_network_operator). | ||
</Property> | ||
|
||
<Property | ||
name="number_type" | ||
> | ||
One of the following values: `fixed` or `mobile`. Additional values may be added in the future. | ||
</Property> | ||
|
||
<Property | ||
name="is_voip" | ||
type="boolean" | ||
> | ||
This is `true` if the billing phone number is a Voice over Internet Protocol (VoIP) number allocated by a regulator. It is `false` if the billing phone number is not a VoIP number allocated by a regulator. The key is only present when a valid billing phone number has been provided and we have data for it. | ||
</Property> | ||
</MinFraudSchema> |
36 changes: 36 additions & 0 deletions
36
content/minfraud/api-documentation/_schemas/ResponseShippingPhone.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import responseJson from '../_examples/response'; | ||
|
||
<MinFraudSchema | ||
json={responseJson.shipping_phone} | ||
jsonPointer="/shipping_phone" | ||
name="Response | Shipping Phone" | ||
services={[ | ||
'insights', | ||
'factors', | ||
]} | ||
> | ||
<Property | ||
name="country" | ||
> | ||
A two-character [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) country code for the country associated with the [shipping/shipping] phone number. | ||
</Property> | ||
|
||
<Property | ||
name="network_operator" | ||
> | ||
The name of the original network operator associated with the shipping phone number. This field does not reflect phone numbers that have been ported from the original operator to another, nor does it identify [mobile virtual network operators](https://en.wikipedia.org/wiki/Mobile_virtual_network_operator). | ||
</Property> | ||
|
||
<Property | ||
name="number_type" | ||
> | ||
One of the following values: `fixed` or `mobile`. Additional values may be added in the future. | ||
</Property> | ||
|
||
<Property | ||
name="is_voip" | ||
type="boolean" | ||
> | ||
This is `true` if the shipping phone number is a Voice over Internet Protocol (VoIP) number allocated by a regulator. It is `false` if the shipping phone number is not a VoIP number allocated by a regulator. The key is only present when a valid shipping phone number has been provided and we have data for it. | ||
</Property> | ||
</MinFraudSchema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters