Ramp · Arazzo Workflow

Ramp Find Cardholder Recent Spend

Version 1.0.0

List users, then list a date window of transactions to slice spend by cardholder.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub FinanceSpend ManagementCorporate CardsExpense ManagementAccounts PayableBill PayAccountingReimbursementArazzoWorkflows

Provider

ramp

Workflows

find-cardholder-recent-spend
List users and a date window of transactions to group spend by cardholder.
Lists users and a date-bounded set of transactions so a caller can group spend by user_id.
2 steps inputs: accessToken, fromDate, toDate outputs: transactions, users
1
listUsers
List the organization's users to capture the cardholder directory the spend will be grouped by.
2
listTransactions
List transactions for the date window so each can be grouped to a cardholder by user_id.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Ramp Find Cardholder Recent Spend
  summary: List users, then list a date window of transactions to slice spend by cardholder.
  description: >-
    Prepares a per-cardholder spend view for a recent period. The workflow
    lists users to capture the directory of cardholders, then lists
    transactions bounded by a date window so a caller can group those
    transactions by user_id and surface each employee's recent spend. The two
    lists together are the supported way to build a cardholder spend slice,
    since the Ramp Developer API exposes no per-user transaction filter. Every
    step spells out its request inline so the flow can be read and executed
    without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: transactionsApi
  url: ../openapi/ramp-transactions-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/ramp-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-cardholder-recent-spend
  summary: List users and a date window of transactions to group spend by cardholder.
  description: >-
    Lists users and a date-bounded set of transactions so a caller can group
    spend by user_id.
  inputs:
    type: object
    required:
    - fromDate
    - toDate
    properties:
      accessToken:
        type: string
        description: OAuth2 client-credentials bearer token with users:read and transactions:read scopes.
      fromDate:
        type: string
        format: date
        description: Inclusive lower bound for the transaction window (YYYY-MM-DD).
      toDate:
        type: string
        format: date
        description: Inclusive upper bound for the transaction window (YYYY-MM-DD).
  steps:
  - stepId: listUsers
    description: >-
      List the organization's users to capture the cardholder directory the
      spend will be grouped by.
    operationId: listUsers
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      users: $response.body#/data
  - stepId: listTransactions
    description: >-
      List transactions for the date window so each can be grouped to a
      cardholder by user_id.
    operationId: listTransactions
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: from_date
      in: query
      value: $inputs.fromDate
    - name: to_date
      in: query
      value: $inputs.toDate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      transactions: $response.body#/data
  outputs:
    users: $steps.listUsers.outputs.users
    transactions: $steps.listTransactions.outputs.transactions

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/ramp-find-cardholder-recent-spend-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.