2Chat

All-in-one WhatsApp* automation for small teams. Integrate it into your existing workflows easily while you keep using WhatsApp as usual.

Integrate the 2Chat API with the Stripe API

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

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
Check Phone Number for WhatsApp with 2Chat API on New Custom Webhook Events from Stripe API
Stripe + 2Chat
 
Try it
Create Contact with 2Chat API on New Custom Webhook Events from Stripe API
Stripe + 2Chat
 
Try it
Send Whatsapp Text Message with 2Chat API on New Custom Webhook Events from Stripe API
Stripe + 2Chat
 
Try it
Cancel a Payment Intent with Stripe API on New Conversation (Instant) from 2Chat API
2Chat + Stripe
 
Try it
Cancel a Payment Intent with Stripe API on New Message (Instant) from 2Chat API
2Chat + Stripe
 
Try it
New Custom Webhook Events from the Stripe API

Emit new event on each webhook event

 
Try it
New Conversation (Instant) from the 2Chat API

Emit new event when a new WhatsApp conversation is started on the user’s 2chat connected number.

 
Try it
New Message (Instant) from the 2Chat API

Emit new event when a new message is either sent or received on 2Chat.

 
Try it
Canceled Subscription from the Stripe API

Emit new event for each new canceled subscription

 
Try it
New WhatsApp Order (Instant) from the 2Chat API

Emit new event when a WhatsApp order is received on user's 2Chat connected number.

 
Try it
Check Phone Number for WhatsApp with the 2Chat API

Checks if a given phone number has a WhatsApp account. See the documentation

 
Try it
Create Contact with the 2Chat API

Creates a new contact in 2Chat. See the documentation

 
Try it
Cancel a Payment Intent with the Stripe API

Cancel a payment intent. Once canceled, no additional charges will be made by the payment intent and any operations on the payment intent will fail with an error. For payment intents with status=requires_capture, the remaining amount_capturable will automatically be refunded. See the docs for more information

 
Try it
Cancel Or Reverse a Payout with the Stripe API

Cancel or reverse a payout. A payout can be canceled only if it has not yet been paid out. A payout can be reversed only if it has already been paid out. Funds will be refunded to your available balance. See the docs for more information

 
Try it
Capture a Payment Intent with the Stripe API

Capture the funds of an existing uncaptured payment intent. See the docs for more information

 
Try it

Overview of 2Chat

The 2Chat API allows developers to build and manage chatbots that can engage users in personalized conversations across various platforms like WhatsApp, Telegram, and more. This API facilitates the creation, training, and integration of chatbots with existing applications, enabling automated responses based on user inputs and behaviors. Utilizing Pipedream's capabilities, developers can orchestrate complex workflows that react to events from 2Chat, process data, and trigger actions in other apps, streamlining communication processes and enhancing user interaction.

Connect 2Chat

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    _2chat: {
      type: "app",
      app: "_2chat",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.p.2chat.io/open/contacts/search`,
      headers: {
        "Content-Type": `application/json`,
        "X-User-API-Key": `${this._2chat.$auth.api_key}`,
      },
      params: {
        query: `John`,
        results_per_page: `30`,
        page_number: `0`,
      },
    })
  },
})

Overview of Stripe

The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.

Connect Stripe

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import stripe from 'stripe'

export default defineComponent({
  props: {
    stripe: {
      type: "app",
      app: "stripe",
    }
  },
  async run({steps, $}) {
    const client = stripe(this.stripe.$auth.api_key)

    return await client.accounts.list({ limit: 1 })
  },
})

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