with Thoughtly and OnlineCheckWriter?
Generates a new contact within your Thoughtly team. See the documentation
Create an email check for a payee. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
thoughtly: {
type: "app",
app: "thoughtly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.thought.ly/user`,
headers: {
"accept": `application/json`,
" x-api-token": `${this.thoughtly.$auth.api_token}`,
},
})
},
})
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}`,
},
})
},
})