Telegram Bot

Telegram is a cloud-based instant messaging and voice over IP service

Go to site

Integrate the Telegram Bot API with the Stripe API

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

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

Connect Telegram Bot

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    telegram_bot_api: {
      type: "app",
      app: "telegram_bot_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
    })
  },
})

Connect Stripe

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    stripe: {
      type: "app",
      app: "stripe",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.stripe.com/v1/accounts`,
      auth: {
        username: `${this.stripe.$auth.api_key}`,
        password: ``,
      },
    })
  },
})