Govee is a global leading smart home brand pursuing personalized and fun life experiences through continuous innovations, especially in ambient lighting, home appliance products, and smart IoT systems.
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
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
Capture the funds of an existing uncaptured payment intent. See the docs for more information
Confirm that your customer intends to pay with current or provided payment method. Upon confirmation, Stripe will attempt to initiate a payment. See the docs for more information
The Govee API enables you to interact with your Govee smart home devices. Through Pipedream, you can automate actions like adjusting lighting color and brightness, monitoring temperature and humidity levels, and creating alerts based on the state of your devices. With Pipedream's capability to join multiple APIs, these interactions can become intelligent responses to inputs from other sources, such as calendars, weather services, or IoT triggers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
govee: {
type: "app",
app: "govee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openapi.api.govee.com/router/api/v1/user/devices`,
headers: {
"Govee-API-Key": `${this.govee.$auth.api_key}`,
},
})
},
})
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.
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 })
},
})