with Plisio and Chat Data?
Create a chatbot with the specified properties. See the documentation
Get status of the Chatbot with the specified ID. See the documentation
The Plisio API enables automated cryptocurrency payment processing, offering capabilities for creating and managing invoices, tracking transactions, and handling crypto payments. With Pipedream, you can leverage the Plisio API to create serverless workflows that integrate with numerous other apps and services. This empowers developers to automate payment flows, synchronize transaction data across platforms, and trigger actions based on payment statuses, without writing complex server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plisio: {
type: "app",
app: "plisio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://plisio.net/api/v1/operations`,
params: {
api_key: `${this.plisio.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chat_data: {
type: "app",
app: "chat_data",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.chat-data.com/api/v2/current-plan`,
headers: {
Authorization: `Bearer ${this.chat_data.$auth.api_key}`,
},
})
},
})