How to integrate macaddress.io into a decision engine - Decisimo - Decision Intelligence Services

Published on: 2024-08-10 18:48:28

Macaddress.io provides database as a service of current MAC addresses and its vendors. The service is especially useful when evaluating device validity to prevent and detect attacks from virtual machine environments. If someone takes your mobile app and runs it virtually on a laptop, you can check network environment, MAC address of the network and see whether there is something dodgy happening.

1.

Get an account API key from macaddress.io

  • macaddress.io has simple pricing and an easy sign-up process. Their free tier gives you 1,000 checks a day, which is enough for testing the service out.

    https://macaddress.io/signup
  • Once you get an account and log in, head to General Dashboard and find your API key.
    macaddress.io Dashboard
2.

Create a data source in Decisimo Portal

  • Go into Data sources and hit new and create from template.
    FraudLabs Pro Dashboard
    Create macaddress.io from template
  • Place the API Key you have from macaddress.io instead of the __YOUR_API_KEY__ in the Parameters part - the highlighted text in the screenshot below.
    Definition of macaddress.io data source
  • macaddress.io has only one required parameter - search, which is for the MAC address.
  • When you use the macaddress.io data source template, it will include the definition necessary.
3.

Add macaddress.io data source to your decision flow

  • If you already have a decision step for data sources, you can add the call to macaddress.io within the same step. The decision engine will call all the sources in the same step in parallel. Parallel calls ensure the fastest execution time.
  • If you do not have a decision flow step for external data, add one. Connect your decision flow step and by double-clicking, open the definition window. Define in the step the attribute with MAC address from your data object to be sent to macaddress.io.
  • macaddress.io within a decision step
GO

Run the decision making

  • Release your decision flow, deploy to an endpoint and make decisions using data from macaddress.io.