executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
ramp-core-workflow-aBuild and verify a fund-backed Ramp virtual-card workflow with least-privilege scopes, idempotency, controlled card-detail delivery, and lifecycle evidence. Use when issuing virtual cards or embedding card details. Trigger with "issue Ramp virtual card" or "Ramp embedded card".
Independent GitHub snapshot · Automated classification · Original documentation governs
Create the spend authority first, then issue or expose the card through the supported delivery surface. Prefer Ramp's embedded iframe when a person needs to see card details; use the Vault API only for an approved server-side payment flow.
references/official-docs.md and re-check endpoint schemas, scopes, limits, and support status before a live operation.Use a server-side Ramp OAuth bearer token from the selected environment with only the required Funds, Virtual Cards, or Embedded Cards scopes. Never send the bearer token to browser code; the backend mints the short-lived embed token. Vault access also requires its documented scopes and Ramp production approval.
Record the cardholder or service purpose, business entity, owner, amount and interval, eligible spend, expiration, approval path, and termination trigger.
Choose embedded iframe or Vault delivery and document why the lower-exposure option is insufficient if selecting Vault.
In sandbox, create the required Fund or spend-control object with a unique idempotency key, then capture the returned card identifier without card details.
For embedded delivery, verify the exact parent origin and mint short-lived embed tokens on demand from the backend; never expose the Ramp access token to the browser.
Exercise suspension or fund termination, reconcile final state through a read, and preserve the approval, object IDs, idempotency keys, and rollback result.
The budget owner approves spend authority; the application and security owners approve delivery architecture. Vault production access requires Ramp approval and the organization's PCI review.
A purpose-and-control record, scope matrix, sandbox creation receipt, safe delivery design, lifecycle verification, and named owner for suspension, termination, and incident response.
| Condition | Response |
|---|---|
| Origin verification fails | Confirm exact HTTPS origin, public verification file bytes, timeout, and absence of redirects or wildcard hosts. |
| A create response is ambiguous | Query by the durable business key or reconcile the deferred task before reusing the idempotency key. |
| A backend receives card details unexpectedly | Contain the data, stop logging, involve security, and redesign around the embedded iframe unless Vault is explicitly approved. |
Issue a monthly software fund and virtual card, render it through a verified staging iframe, then terminate the sandbox fund.
Design an approved backend travel-booking flow using Vault while keeping card data out of general logs, queues, and analytics.