The most powerful, customizable and easy to integrate subscription billing software used by hundreds of companies worldwide to simplify revenue operations
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The Billsby API allows for automated subscription management, providing endpoints to create and manage customer accounts, subscriptions, invoices, and payments. With Pipedream, you can connect Billsby to hundreds of other services, triggering workflows based on subscription events, syncing customer data, or automating billing processes. This can lead to more efficient operations, better customer experiences, and timely data-driven decisions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
billsby: {
type: "app",
app: "billsby",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public.billsby.com/api/v1/rest/core/${this.billsby.$auth.company_domain}/subscriptions`,
headers: {
"ApiKey": `${this.billsby.$auth.api_key}`,
"accept": `application/json`,
},
params: {
page: `1`,
pageSize: `5`,
},
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}