Brex

Payments, Deposits, Cards

Integrate the Brex API with the Formatting API

Setup the Brex API trigger to run a workflow which integrates with the Formatting API. Pipedream's integration platform allows you to integrate Brex and Formatting remarkably fast. Free for developers.

[Data] Convert JSON to String with Formatting API on New Transfer Event (Instant) from Brex API
Brex + Formatting
 
Try it
[Data] Parse JSON with Formatting API on New Transfer Event (Instant) from Brex API
Brex + Formatting
 
Try it
[Date/Time] Add/Subtract Time with Formatting API on New Transfer Event (Instant) from Brex API
Brex + Formatting
 
Try it
[Date/Time] Compare Dates with Formatting API on New Transfer Event (Instant) from Brex API
Brex + Formatting
 
Try it
[Date/Time] Format with Formatting API on New Transfer Event (Instant) from Brex API
Brex + Formatting
 
Try it
New Transfer Event (Instant) from the Brex API

Emit new event for new failed or processed events

 
Try it
Create Card with the Brex API

Creates a new card. See the docs here.

 
Try it
[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
Invite User with the Brex API

Invites a new user as an employee. See the docs here.

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
List Transactions for Primary Card Account with the Brex API

Lists all settled transactions for the primary card account. See the docs here.

 
Try it

Overview of Brex

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:

  • A tool to help manage your Brex account and cardholders
  • A tool to help retrieve transactions
  • A tool to help create and manage cardholders

Connect Brex

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})