with Brex (Staging) and Nutrient Workflow Automation?
Emit new event for new failed or processed events
Lists all settled transactions for the primary card account. See the docs here
Lists all transactions for the specified cash account. See the docs here
The Brex (Staging) API allows you to automate financial operations and integrate with Brex's suite of financial services. This API can be leveraged to synchronize transactions, manage cards, and automate accounting processes, providing real-time insights into your business finances. Using Pipedream, these capabilities can be harnessed to create custom workflows that trigger actions based on financial events, reconcile expenses, and streamline financial reporting.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brex_staging: {
type: "app",
app: "brex_staging",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://platform.staging.brexapps.com/v2/cards`,
headers: {
Authorization: `Bearer ${this.brex_staging.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nutrient_workflow_automation: {
type: "app",
app: "nutrient_workflow_automation",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://workflow-trial.on-nutrient.io/api/user/`,
headers: {
Authorization: `Bearer ${this.nutrient_workflow_automation.$auth.oauth_access_token}`,
"accept": `application/json`,
},
params: {
search: `Pipedream`,
},
})
},
})