with Instamojo and Systeme.io?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
instamojo: {
type: "app",
app: "instamojo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.instamojo.com/v2/payments/`,
headers: {
Authorization: `Bearer ${this.instamojo.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
systeme_io: {
type: "app",
app: "systeme_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.systeme.io/api/contacts`,
headers: {
"x-api-key": `${this.systeme_io.$auth.api_key}`,
},
})
},
})