Stripe

Payment Platform

Go to site

Integrate the Stripe API with the Twilio API

Setup the Stripe API trigger to run a workflow which integrates with the Twilio API. Pipedream's integration platform allows you to integrate Stripe and Twilio 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 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: ``,
      },
    })
  },
})

Connect Twilio

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    twilio: {
      type: "app",
      app: "twilio",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.twilio.com/2010-04-01/Accounts.json`,
      auth: {
        username: `${this.twilio.$auth.Sid}`,
        password: `${this.twilio.$auth.Secret}`,
      },
    })
  },
})

Community Posts

How Our Family Uses SMS and Smart Picture Frames to Connect During Remote Holidays
How Our Family Uses SMS and Smart Picture Frames to Connect During Remote Holidays
Two days before Thanksgiving, I decided to put together a simple way for our family to share pictures, because we couldn’t be together in person. The idea: smart photo frames that everyone could text pictures to. Here’s how I got it working. tldr; A Pipedream workflow parses SMS messages sent to a Twilio phone number, extracting the pictures and then using SendGrid to email them to the dedicated email addresses used by our Pix-Star photo frames.