import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jvzoo: {
type: "app",
app: "jvzoo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jvzoo.com/v2.0`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.jvzoo.$auth.api_key}`,
password: `x`,
},
})
},
})
Emit new event when a new transaction is created. See the documentation
JVZoo uses API keys for authentication. When you connect your JVZoo account, Pipedream securely stores the keys so you can easily authenticate to JVZoo APIs in both code and no-code steps.
To obtain an API key, you first need go to https://www.jvzoo.com/account/applications to create a new API Application under the My Account tab.