Skip to content
OpenSmartRoute
Skillv1.0.0

ramp-core-workflow-a

Ramp core workflow a — 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 workflo

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (skills/.curated/ramp-core-workflow-a/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill ramp-core-workflow-a. Copyright stays with the author (MIT).

Ramp Core Workflow A

Overview

Issue and manage virtual cards with spending limits, policies, and lifecycle management.

Prerequisites

  • Completed ramp-hello-world

Instructions

Step 1: Issue a Virtual Card

card = requests.post(f"{BASE}/cards", headers={**headers, "Content-Type": "application/json"}, json={
    "holder_name": "Jane Smith",
    "spending_restrictions": {
        "amount": 50000,        # $500.00 in cents
        "interval": "monthly",  # monthly, yearly, total
    },
    "display_name": "Marketing Software",
    "fulfillment": { "card_type": "virtual" },
})
card.raise_for_status()
card_id = card.json()["id"]
print(f"Virtual card issued: {card_id}")

Step 2: Update Card Limit

requests.patch(f"{BASE}/cards/{card_id}", headers={**headers, "Content-Type": "application/json"}, json={
    "spending_restrictions": {
        "amount": 100000,  # Increase to $1,000
        "interval": "monthly",
    },
})

Step 3: Suspend Card

requests.post(f"{BASE}/cards/{card_id}/suspend", headers=headers)
print(f"Card {card_id} suspended")

Step 4: Terminate Card

requests.post(f"{BASE}/cards/{card_id}/terminate", headers=headers)
print(f"Card {card_id} terminated")

Output

  • Virtual card issued with spending limits
  • Card limits updated
  • Card suspended/terminated

Error Handling

Error Cause Solution
422 Invalid holder User not found Verify holder is a Ramp user
400 Invalid amount Amount not in cents Multiply dollars by 100
Card already terminated Cannot modify Check card state first

Resources

Next Steps

Transaction management: ramp-core-workflow-b

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-ramp-core-workflow-a/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-ramp-core-workflow-a.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-ramp-core-workflow-a",
  "kind": "skill",
  "name": "ramp-core-workflow-a",
  "description": "Ramp core workflow a — 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 a\", \"ramp-core-workflow-a\", \"corporate card API\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding",
      "finance"
    ],
    "tags": [
      "skill-md",
      "saas",
      "ramp",
      "fintech",
      "expenses",
      "corporate-cards",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Ramp core workflow a — 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 a\", \"ramp-core-workflow-a\", \"corporate card API\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "skills/.curated/ramp-core-workflow-a/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/skills/.curated/ramp-core-workflow-a/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/skills/.curated/ramp-core-workflow-a/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Write,",
      "Edit,",
      "Bash(npm:*),",
      "Bash(curl:*),",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# Ramp Core Workflow A\n\n## Overview\n\nIssue and manage virtual cards with spending limits, policies, and lifecycle management.\n\n## Prerequisites\n\n- Completed `ramp-hello-world`\n\n## Instructions\n\n### Step 1: Issue a Virtual Card\n\n```python\ncard = requests.post(f\"{BASE}/cards\", headers={**headers, \"Content-Type\": \"application/json\"}, json={\n    \"holder_name\": \"Jane Smith\",\n    \"spending_restrictions\": {\n        \"amount\": 50000,        # $500.00 in cents\n        \"interval\": \"monthly\",  # monthly, yearly, total\n    },\n    \"display_name\": \"Marketing Software\",\n    \"fulfillment\": { \"card_type\": \"virt",
  "cost": {
    "context_tokens": 474
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-ramp-core-workflow-a/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.