Credentials
To configure a Riskified connection, you need to set the following credentials.| Credential | Description |
|---|---|
| Shop Domain | Your unique shop domain with Riskified |
| Auth Token | The authentication token for the Riskified API |
Limited actions
By default, Gr4vy sends transaction status updates to Riskified for all transaction events, including refunds and voids. However, you can enable the Limited Actions flag in the connector configuration to limit these updates. When the Limited Actions flag is enabled, Gr4vy only sends transaction status updates to Riskified during the initial transaction processing. Status updates forrefund or void events are not sent to Riskified.
Decision mapping
Decisions received from Riskified are mapped to the decisions according to the following logic.| Riskified decision | Decision |
|---|---|
approve | accept |
decline | reject |
captured | skipped |
accept or reject decisions are returned. A captured response can also be returned by Riskified, if you have set up a configuration with Riskified to only review a part of your volume.
If there is a technical issue reaching Riskified, the decision returns as an exception.
Data requirements
To receive accurate anti-fraud recommendations from Riskified, it is important to provide comprehensive transaction data. While Riskified attempts to process transactions with limited data, providing the following fields significantly improves the quality and accuracy of fraud decisions.Recommended fields
For optimal fraud detection, it is highly recommended to include billing details with the following fields:billing_details.first_namebilling_details.last_namebilling_details.phone_numberbilling_details.address.line1billing_details.address.countrybilling_details.address.citybilling_details.address.postal_codebilling_details.address.state
shipping_details.first_nameshipping_details.last_nameshipping_details.phone_numbershipping_details.address.line1shipping_details.address.countryshipping_details.address.cityshipping_details.address.postal_codeshipping_details.address.state
Browser information
For optimal fraud detection accuracy, Riskified benefits from the following browser data being associated with a transaction.| Requirement | Description |
|---|---|
| Language | The value of the ACCEPT-LANGUAGE header |
| User agent | The browser user agent |
| IP | The browser IP |
transaction.browser_info fields. For the full list of fields, see the browser_info object in the new transaction API reference.
Please refer to the IP address forwarding guide for
more details on passing the IP address when making direct API calls.
Custom options
You can also pass custom merchant-defined data specifically for Riskified using connection options.| Options | Description |
|---|---|
delivered_to | The delivery destination for the line items. Applied to the final line items in the payload. Valid values: shipping_address, store_pickup. |
Device fingerprinting
Device fingerprinting is recommended when using Riskified. Please refer to the device fingerprinting guide for more information on the universal solution. If needed, you could load the fingerprint script for Riskified directly and pass thesession_id value as the anti_fraud_fingerprint to the new transaction API.