with Plisio and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS