Empowering millions of digital businesses & creators with payments from crypto to fiat.
Emit new events when a payment is made in Poof. See the documentation
The Poof API lets you schedule and automate emails and SMS messages, making it a powerful tool for communication-based workflows. With Pipedream, you can connect the Poof API to hundreds of other services to craft custom automations. Trigger events, process data, and design complex interactions without managing a server infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
poof: {
type: "app",
app: "poof",
}
},
async run({steps, $}) {
const data = {
"crypto": `bitcoin`,
}
return await axios($, {
method: "post",
url: `https://www.poof.io/api/v2/balance`,
headers: {
"Authorization": `${this.poof.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})