with Billplz and Veriff?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
billplz: {
type: "app",
app: "billplz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.billplz.$auth.mode}.com/api/v4/webhook_rank`,
auth: {
username: `${this.billplz.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
veriff: {
type: "app",
app: "veriff",
}
},
async run({steps, $}) {
const data = {
"verification": {
"callback": "https://veriff.me",
"vendorData": `${this.veriff.$auth.guid}`
}
}
return await axios($, {
method: "post",
url: `${this.veriff.$auth.api_url}/v1/sessions/`,
headers: {
"content-type": `application/json`,
"x-auth-client": `${this.veriff.$auth.api_key}`,
},
data,
})
},
})