with Flutterwave and SMSTools?
Adds a new contact to an existing contact list. See the documentation
Adds a selected contact to the opt-out list, stopping further communications. See the documentation
Sends a SMS or WhatsApp message to a specified contact. See the documentation
The Flutterwave API empowers developers to automate payment processes and integrate various payment services within applications. With this API, you can initiate and receive payments, manage transactions, and access customer data securely. Utilizing Pipedream, you can create workflows that trigger on specific events, process data, and integrate with an array of services without managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flutterwave: {
type: "app",
app: "flutterwave",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flutterwave.com/v3/beneficiaries`,
headers: {
Authorization: `Bearer ${this.flutterwave.$auth.secret_api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smstools: {
type: "app",
app: "smstools",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smsgatewayapi.com/v1/account`,
params: {
client_id: `${this.smstools.$auth.client_id}`,
client_secret: `${this.smstools.$auth.client_secret}`,
},
})
},
})