with eBay and Rewiser?
Emit new event when a new transaction is created in Rewiser. See the documentation
Create a financial transaction in Rewiser. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ebay: {
type: "app",
app: "ebay",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apiz.ebay.com/commerce/identity/v1/user/`,
headers: {
Authorization: `Bearer ${this.ebay.$auth.oauth_access_token}`,
"content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rewiser: {
type: "app",
app: "rewiser",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://nzkqapsaeatytqrnitpj.supabase.co/functions/v1/verify-auth`,
headers: {
Authorization: `Bearer ${this.rewiser.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})