# Ramp Hello World

> "Ramp hello world \u2014 corporate card and expense management API integration.\n\ Use when working with Ramp for card management, expenses, or accounting sync.\n\ Trigger with phrases like \"ramp hello world\", \"ramp-hello-world\", \"corporate\ \ card API\".\n"

- Skill: `thedixitjain/ramp-hello-world` (Agent Skill)
- Install (CLI): `npx skillmds add thedixitjain/ramp-hello-world`
- Raw SKILL.md: https://api.skillmd.com/api/skills/thedixitjain/ramp-hello-world/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: thedixitjain (https://skillmd.com/u/thedixitjain)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/thedixitjain/ramp-hello-world

---


# Ramp Hello World

## Overview

List cards, get transactions, and check user details using the Ramp API.

## Prerequisites

- Completed `ramp-install-auth` with valid access token

## Instructions

### Step 1: List Virtual Cards

```python
resp = requests.get(f"{BASE}/cards", headers=headers, params={"page_size": 10})
for card in resp.json()["data"]:
    print(f"Card: {card['display_name']} — Limit: ${card['spending_restrictions']['amount']/100:.2f}")
    print(f"  Status: {card['state']}, Last4: {card['last_four']}")
```

### Step 2: Get Recent Transactions

```python
resp = requests.get(f"{BASE}/transactions", headers=headers, params={
    "start_date": "2026-01-01",
    "page_size": 10,
})
for tx in resp.json()["data"]:
    print(f"${tx['amount']/100:.2f} at {tx['merchant_name']} — {tx['sk_category_name']}")
```

### Step 3: List Users

```python
resp = requests.get(f"{BASE}/users", headers=headers, params={"page_size": 10})
for user in resp.json()["data"]:
    print(f"  {user['first_name']} {user['last_name']} — {user['role']}")
```

## Output

- Cards listed with limits and status
- Recent transactions with merchant details
- Users with role information

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| Empty results | No data in sandbox | Create test cards first |
| `403 Forbidden` | Insufficient permissions | Check API app permissions |
| `400 Bad date format` | Wrong date format | Use ISO 8601: YYYY-MM-DD |

## Resources

- [Ramp API Documentation](https://docs.ramp.com/)
- [Cards and Funds](https://docs.ramp.com/developer-api/v1/cards-and-funds)

## Next Steps

Issue virtual cards: `ramp-core-workflow-a`

---

**Source:** [`jeremylongshore/claude-code-plugins-plus-skills`](https://github.com/jeremylongshore/claude-code-plugins-plus-skills) → `skills/.curated/ramp-hello-world/SKILL.md`

**Also appears in:** `jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/ramp-pack/skills/ramp-hello-world/SKILL.md`

