MySQL

Open-source relational database

Integrate the MySQL API with the FraudLabs Pro API

Setup the MySQL API trigger to run a workflow which integrates with the FraudLabs Pro API. Pipedream's integration platform allows you to integrate MySQL and FraudLabs Pro remarkably fast. Free for developers.

Get Verification Result with FraudLabs Pro API on New Column from MySQL API
MySQL + FraudLabs Pro
 
Try it
Get Verification Result with FraudLabs Pro API on New or Updated Row from MySQL API
MySQL + FraudLabs Pro
 
Try it
Get Verification Result with FraudLabs Pro API on New Row (Custom Query) from MySQL API
MySQL + FraudLabs Pro
 
Try it
Get Verification Result with FraudLabs Pro API on New Row from MySQL API
MySQL + FraudLabs Pro
 
Try it
Get Verification Result with FraudLabs Pro API on New Table from MySQL API
MySQL + FraudLabs Pro
 
Try it
New Column from the MySQL API

Emit new event when you add a new column to a table. See the docs here

 
Try it
New or Updated Row from the MySQL API

Emit new event when you add or modify a new row in a table. See the docs here

 
Try it
New Row from the MySQL API

Emit new event when you add a new row to a table. See the docs here

 
Try it
New Row (Custom Query) from the MySQL API

Emit new event when new rows are returned from a custom query. See the docs here

 
Try it
New Table from the MySQL API

Emit new event when a new table is added to a database. See the docs here

 
Try it
Create Row with the MySQL API

Adds a new row. See the docs here

 
Try it
Get Verification Result with the FraudLabs Pro API

Verify that an OTP sent by the Send SMS Verification API is valid. Please refer to the documentation for the explanation of the result returned.

 
Try it
Delete Row with the MySQL API

Delete an existing row. See the docs here

 
Try it
Send SMS Verification with the FraudLabs Pro API

Send an SMS with verification code and a custom message for authentication purpose. Please refer to the documentation for the explanation of the result returned. NOTE: You need to register for an API key before using this REST API. Please visit Micro Plan to sign up for an API key if you do not have one. In addition, you will also have to make sure you have enough SMS credits to send any verification SMS.

 
Try it
Execute Query with the MySQL API

Find row(s) via a custom query. See the docs here

 
Try it

Overview of MySQL

MySQL is a powerful database management system used by some of the largest
organizations in the world, including Facebook, Google, and Amazon. MySQL is an
open-source relational database management system (RDBMS), as well as a popular
choice for web applications used by millions of websites.

Some applications that can be built using the MySQL API include:

  • A web application that stores and retrieves data from a MySQL database
  • A desktop application that uses a MySQL database for data storage
  • A mobile application that interacts with a MySQL database

Connect MySQL

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import mysql from 'mysql2/promise';
export default defineComponent({
  props: {
    mysql: {
      type: "app",
      app: "mysql",
    }
  },
  async run({steps, $}) {
    
    const { host, port, username, password, database } = this.mysql.$auth
    
    const connection = await mysql.createConnection({
      host,
      port,
      user: username,
      password,
      database,
    });
    
    const [rows] = await connection.execute('SELECT NOW()');
    return rows
  },
})

Overview of FraudLabs Pro

Fraud Detection for E-commerce

The FraudLabs Pro API enables e-commerce businesses to detect fraudulent orders
with ease. Businesses can simply send in an order’s information, and FraudLabs
Pro will return a fraud score and report explaining the decision. This allows
businesses to make informed decisions on whether to accept, flag, or reject an
order.

FraudLabs Pro can help e-commerce businesses in the following ways:

  • Detect fraudulent orders
  • Reduce chargebacks and fraud-related losses
  • Prevent fraudsters from abusing the system

Here are some examples of what you can build with the FraudLabs Pro API:

  • A fraud detection system for your e-commerce website
  • A chargeback prevention system for your business
  • A fraud monitoring system to track fraudsters and their activities

Connect FraudLabs Pro

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    fraudlabs_pro: {
      type: "app",
      app: "fraudlabs_pro",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.fraudlabspro.com/v1/order/screen`,
      params: {
        key: `${this.fraudlabs_pro.$auth.api_key}`,
        ip: `[ip_address]`,
      },
    })
  },
})