with Fakturoid and Veedea?
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: {
veedea: {
type: "app",
app: "veedea",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://veedea.com/api/getcampaign`,
params: {
api_key: this.veedea.$auth.api_key,
token: this.veedea.$auth.access_token,
},
})
},
})