Payments, Deposits, Cards
Add or update a single record in your Pipedream Data Store.
Add or update multiple records to your Pipedream Data Store.
Lists all settled transactions for the primary card account. See the docs here.
The Brex API enables developers to programmatically manage their Brex account
and cardholders. With the API, developers can create and manage cardholders,
retrieve transactions, and more.
Here are some examples of what you can build with the Brex API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brex: {
type: "app",
app: "brex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://platform.brexapis.com/v2/cards`,
headers: {
Authorization: `Bearer ${this.brex.$auth.oauth_access_token}`,
},
})
},
})
With the Data Stores API, you can build applications that:
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})