import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
taxjar: {
type: "app",
app: "taxjar",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.taxjar.com/v2/categories`,
headers: {
Authorization: `Bearer ${this.taxjar.$auth.api_key}`,
},
})
},
})
TaxJar uses API keys for authentication. When you connect your TaxJar account, Pipedream securely stores the keys so you can easily authenticate to TaxJar APIs in both code and no-code steps.
To retrieve your API Key,