Riskified

Get started with Riskified

Integrate Riskified in DEUNA

Requirements

The following information must be at hand before starting to configure the different environments.

  • Shop URL: Provided by Riskified
  • Environment: test for Sanbdox environment, and live or production for Production environment
  • Auth Token: Provided either by Riskified or obtained in Riskified’s portal

Integrate Riskified

Integrate Riskified in DEUNA.

1. Set up the sandbox environment in Riskified

  1. Access the Riskified dashboard

  2. Review your API Keys.

  3. Select Account Settings in the bottom left panel and thenthe Developers Tab

  4. Copy the Shop URL and the Auth Token that will be used when creating the connection in Deuna.

2. Configure webhooks

Configure the webhooks for Post-Authorization configuration (First PSP and then Fraud Evaluation):

  1. In Developers, go to Configuration.

  2. Scroll down to 2. Setup a Notification Endpoint.

  3. In the textbox, paste the following URLs depending on the DEUNA environment:

    • Sandbox: https://api.sandbox.deuna.io/post-transactions/riskified
    • Production: https://api.deuna.io/post-transactions/riskified
  4. Click Save.

📘

For VTEX merchants, ask your DEUNA TPM.

3. Set up the sandbox environment in DEUNA

  1. Access the [DEUNA Admin]https://admin.deuna.com/home).

  2. Select Test Mode.

  3. Go to Settings.

  4. Click Merchant

  5. Under Payment settings, select the Fraud Settings.

  6. Only for Post Authorization Configuration:

    1. Enable Manual Review
    2. Enable Automatic Operations Execution
    3. Order Follow-up

4. Configure Riskified as an anti-fraud provider in DEUNA

Configure Riskified as an anti-fraud provider using testing credentials:

  1. Go to Connections in the Payments section.
  2. Search for Riskified and click it.
  3. Use the test credentials and establish a Payment Strategy
    • test as Environment.
    • Pre Authorization
  • Post Authorization

5. Configure device fingerprinting

  1. When connecting to Deuna via Payment Widget and Payment link follow this guide.

  2. When connecting to Deuna by direct API, follow this guide.

  3. For either connection, you have to add Riskified in the providers object with the following parameters:

    	RISKIFIED: { 
    		storeDomain: 'merchant.com' 
    	}
  4. The parameter to configure is storeDomain, which is part of the connection credentials.

  5. For API connections, send the output to DEUNA in the device_id field in base64.

6. Test the integration

Start testing

Make the following transactions using the emails:

ResultFieldValueField in the Request to Deuna
Aproveemailany
Denyemail[email protected] or [email protected]billing_address.email = [email protected], [email protected]

The following values should appear in the Fraud section:

  • Pre Authorization
  • Post Authorization

7. Deploy Riskified to Production

Set up the production environment:

  1. Riskified:
    1. Get access to Production Dashboard in Production: Ask Riskified for the required credentials
    2. Login into https://app.riskified.com/ to configure the account
  2. In the DEUNA Admin configure the merchant for Production
    1. Unselect Test Mode
    2. Configure Riskified as an anti-fraud provider using Production credentials, setting live or production as Environment
    3. Configure the payment gateways and establish a Payment Strategy.