Pennylane brings together your finances, your accounting, and your Business Account!
Creates a billing subscription for a customer. See the documentation.
Generates a new invoice for a customer using Pennylane. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pennylane: {
type: "app",
app: "pennylane",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.pennylane.com/api/external/v1/me`,
headers: {
Authorization: `Bearer ${this.pennylane.$auth.oauth_access_token}`,
"Accept": `application/json`
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})