with Docnify and OnlineCheckWriter?
Add a recipient to an existing Docnify document. [See the documentation](See the documentation)
Create a new document in Docnify from a pre-existing template. See the documentation
Create an email check for a payee. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docnify: {
type: "app",
app: "docnify",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docnify.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.docnify.$auth.api_token}`,
},
params: {
page: `1`,
perPage: `1`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onlinecheckwriter: {
type: "app",
app: "onlinecheckwriter",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.onlinecheckwriter.$auth.environment}/api/v3/bankAccounts`,
headers: {
Authorization: `Bearer ${this.onlinecheckwriter.$auth.api_key}`,
},
})
},
})