What do you want to automate

with Persona and Verifone?

Prompt, edit and deploy AI agents that connect to Persona, Verifone and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Integrate the Persona API with the Verifone API
Setup the Persona API trigger to run a workflow which integrates with the Verifone API. Pipedream's integration platform allows you to integrate Persona and Verifone remarkably fast. Free for developers.

Overview of Persona

The Persona API lets you automate identity verification processes, tailor user onboarding, and ensure compliance with ease. Within Pipedream, you can use this API to create robust serverless workflows that trigger actions based on verification status, update CRM records, or even flag high-risk activities. Combining Persona with Pipedream's vast suite of integrated apps means you can streamline operations, enhance user trust, and maintain security without the heavy lifting of manual intervention.

Connect Persona

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    persona: {
      type: "app",
      app: "persona",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://withpersona.com/api/v1/accounts`,
      headers: {
        Authorization: `Bearer ${this.persona.$auth.api_key}`,
        "Accept": `application/json`,
        "Persona-Version": `2023-01-05`,
      },
    })
  },
})

Connect Verifone

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
26
27
28
29
30
31
32
33
34
35
import { axios } from "@pipedream/platform";
import dayjs from "dayjs";
import crypto from "crypto";

export default defineComponent({
  props: {
    verifone: {
      type: "app",
      app: "verifone",
    }
  },

  async run({steps, $}) {
    let requestDateTime = new Date();
    requestDateTime = dayjs(requestDateTime).format("YYYY-MM-DD hh:mm:ss");

    const algo = "sha256";
    let hash = this.verifone.$auth.vendor_code.length 
            + this.verifone.$auth.vendor_code 
            + requestDateTime.toString().length 
            + requestDateTime;
    hash = crypto.createHmac(algo, this.verifone.$auth.secret_key)
      .update(hash)
      .digest('hex');

    return await axios($, {
      url: `https://api.2checkout.com/rest/6.0/products/`,
      headers: {
        "X-Avangate-Authentication": `code="${this.verifone.$auth.vendor_code}" date="${requestDateTime}" hash="${hash}" algo="${algo}"`,
        Accept: "application/json"
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo