import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
straker_verify: {
type: "app",
app: "straker_verify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-verify.straker.ai/user/balance`,
headers: {
Authorization: `Bearer ${this.straker_verify.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
Straker Verify uses API keys for authentication. When you connect your Straker Verify account, Pipedream securely stores the keys so you can easily authenticate to Straker Verify APIs in both code and no-code steps.