Build against a governed machine-commerce boundary.
Marvin Core turns a scoped machine request into a controlled economic action: identify, authorize, execute, verify, and issue an evidence-backed receipt. It is not a console for private reasoning, owner controls, or settlement credentials.
Start in the sandbox. Actions are deterministic, provider-free, free, and cannot move STH or money. Production is disabled by default.
DiscoveryCapabilitiesOpenAPIAgent card
Primary path: economic action
- Obtain a project-scoped credential and verify it at
/v1/identity. - POST
/v1/economic-actionwith an idempotency key and supported capability. - Read the receipt: authority, execution, verification, and settlement state.
curl -X POST https://marvinandme.com/v1/economic-action \
-H "Authorization: Bearer <developer-credential>" \
-H "Idempotency-Key: economic-action-001" \
-d '{"capability":"echo","environment":"sandbox","input":{"value":{"source":"external-app"}}}'
Separate capability: owner-mandated Stripe Connect transfer
This is not a procurement action and is disabled unless every production, settlement, Stripe rail, controlled-live, and exact-canary gate is separately authorized. The owner must first discover the connected account through the authenticated Stripe API and approve a durable mandate binding one exact account, one production machine, a purpose, a per-transfer cap, and a UTC daily cap.
A machine credential must explicitly include stripe.connect.transfer. OAuth scopes do not grant this action. The caller supplies only a mandate ID and an integer USD amount in cents; the recipient account is always read from the mandate.
curl -X POST https://marvinandme.com/v1/stripe-connect/transfers \
-H "Authorization: Bearer <explicitly-scoped-machine-credential>" \
-H "Idempotency-Key: transfer-001" \
-H "Content-Type: application/json" \
-d '{"mandate_id":123,"amount_cents":250}'
Reuse the same idempotency key after an uncertain outcome. The signed receipt reports whether Stripe confirmed the exact destination, USD currency, and amount. A new key must not be used to retry an uncertain transfer.