Trigger workflows on an interval or cron schedule.
Generates a new payment request for a user. See the documentation
Fetches the balance of your on-chain store wallet. See the documentation
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
The BTCPay Server API provides a robust interface for automating payment processing, managing invoices, and overseeing stores within a BTCPay Server instance. Leveraging Pipedream, you can build powerful serverless workflows that react to events in BTCPay Server, such as new payments or invoice statuses, and integrate with countless other services through Pipedream's platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
btcpay_server: {
type: "app",
app: "btcpay_server",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.btcpay_server.$auth.base_url}/api/v1/users/me`,
headers: {
"Authorization": `token ${this.btcpay_server.$auth.api_key}`,
},
})
},
})