with Fakturoid and LINE Messaging?
Cancels an existing invoice or revokes previous cancellation. See the documentation
Executes payment for an invoice or removes an already applied payment. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fakturoid: {
type: "app",
app: "fakturoid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.fakturoid.cz/api/v3/user.json`,
headers: {
Authorization: `Bearer ${this.fakturoid.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
line_messaging_api: {
type: "app",
app: "line_messaging_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.line.me/v2/bot/info`,
headers: {
Authorization: `Bearer ${this.line_messaging_api.$auth.long_lived_channel_access_token}`,
},
})
},
})