import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wise: {
type: "app",
app: "wise",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.transferwise.tech/v1/profiles`,
headers: {
Authorization: `Bearer ${this.wise.$auth.api_token}`,
},
})
},
})
Wise uses API keys for authentication. When you connect your Wise account, Pipedream securely stores the keys so you can easily authenticate to Wise APIs in both code and no-code steps.
Your API tokens section can be found at the bottom of the Settings page inside your Wise account. See docs.