FraudLabs Pro

FraudLabs Pro helps merchants to protect their online e-commerce stores from malicious fraudsters. It screens all sales orders transacted using credit cards, PayPal, and so on for online frauds (also known as payment frauds or CNP frauds).

Integrate the FraudLabs Pro API with the Go API

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

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
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
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

Overview of FraudLabs Pro

The FraudLabs Pro API offers a robust suite of fraud prevention tools that empower users to screen online transactions for fraud. It leverages advanced scoring analytics to rate the risk level of a transaction based on various verification checks, such as IP address, email, transaction velocity, and more. Using Pipedream, developers can integrate these capabilities into workflows to automate fraud checks, augment data analysis, and trigger actions based on fraud scores.

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]`,
      },
    })
  },
})

Overview of Go

You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}