with MX Technologies and Stripe?
Creates a new account for a specific user. See the documentation
Creates a new user in the MX Technologies platform. See the documentation
Cancel a pending payout or reverse a paid payout. See the documentation here and here
The MX Technologies API provides a range of financial data solutions, enabling users to obtain insights into personal finances, conduct risk analysis, and offer personalized financial advice. Within Pipedream, you can harness the power of the MX API to automate financial data aggregation, customer profiling, and trigger custom workflows based on financial events or changes in user data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mx_technologies: {
type: "app",
app: "mx_technologies",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.mx_technologies.$auth.environment}.mx.com/users`,
headers: {
"Accept": `application/vnd.mx.api.v1+json`,
},
auth: {
username: `${this.mx_technologies.$auth.client_id}`,
password: `${this.mx_technologies.$auth.api_key}`,
},
})
},
})
The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.
import stripe from 'stripe'
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
const client = stripe(this.stripe.$auth.api_key)
return await client.accounts.list({ limit: 1 })
},
})