Best way to accept Bitcoin. No fees, no intermediary. Free, open source & self-hosted Bitcoin payment processor for self-sovereign individuals and businesses.
Generates a new payment request for a user. See the documentation
Fetches the balance of your on-chain store wallet. See the documentation
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}`,
},
})
},
})
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.