| name | ramp-core-workflow-b |
| description | Ramp core workflow b — corporate card and expense management API integration.
Use when working with Ramp for card management, expenses, or accounting sync.
Trigger with phrases like "ramp core workflow b", "ramp-core-workflow-b", "corporate card API".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep |
| version | 1.4.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","ramp","fintech","expenses","corporate-cards"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Ramp Core Workflow B
Overview
Manage transactions and expenses: list, categorize, attach receipts, and sync to accounting.
Prerequisites
- Completed
ramp-core-workflow-a
Instructions
Step 1: List Transactions with Filters
resp = requests.get(f"{BASE}/transactions", headers=headers, params={
"start_date": "2026-01-01",
"end_date": "2026-03-22",
"merchant_name": "Amazon",
"page_size": 50,
})
transactions = resp.json()["data"]
total = sum(tx["amount"] for tx in transactions)
print(f"Amazon spend: ${total/100:.2f} across {len(transactions)} transactions")
Step 2: Get Transaction Details
tx_id = transactions[0]["id"]
detail = requests.get(f"{BASE}/transactions/{tx_id}", headers=headers)
tx = detail.json()
print(f"Amount: ${tx['amount']/100:.2f}")
print(f"Merchant: {tx['merchant_name']}")
print(f"Category: {tx['sk_category_name']}")
print(f"Card: {tx[][]} — last4: ")