with Timeular and Stripe?
Creates a new tag within the given space and scope. See the documentation
Cancel a pending payout or reverse a paid payout. See the documentation here and here
The Timeular API lets you track, analyze, and manage your time directly, integrating your time tracking activities with other apps and automations. With Pipedream, you can harness the API to create custom workflows, such as triggering events based on time tracking data, syncing time entries with project management tools, or even automating invoicing processes based on tracked time. It's about connecting Timeular's detailed time tracking capabilities with other services to streamline productivity and reporting.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
timeular: {
type: "app",
app: "timeular",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.timeular.com/api/v3/me`,
headers: {
Authorization: `Bearer ${this.timeular.$auth.oauth_access_token}`,
},
})
},
})
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 })
},
})