shop.dev
Shop’s developer playground for product discovery, carts and agent commerce.
First seen 2026-11-05 · Last seen 2026-11-05 · Source: webmcp.com
Answer 10 · Act 7 · Transact 5 · Score: Not yet scored
Tool inspector
create_spend_request
Request buyer approval for a purchase where the agent enters a payment credential into a website's checkout form using a browser. Provide the purchase terms and spending limit; name a saved card, or omit it to use the account's preferred card. Share the returned continue_url unchanged for review and approval. This does not pay or place an order.
Input schema
| Property | Type | Required | Description |
|---|---|---|---|
meta |
object | no | — |
spend_request |
object | yes | — |
Raw JSON schema
{
"$defs": {
"d0": {
"description": "ISO 4217 minor units: USD2, JPY0, KWD3.",
"maximum": 9007199254740991,
"minimum": 0,
"title": "Amount",
"type": "integer"
}
},
"properties": {
"meta": {
"properties": {
"idempotency-key": {
"description": "Reuse only for exact retries. Update/cancel derive a key if omitted.",
"format": "uuid",
"type": "string"
}
},
"type": "object"
},
"spend_request": {
"properties": {
"approval_limit": {
"allOf": [
{
"$ref": "#/$defs/d0"
}
],
"description": "Positive spending limit in currency minor units.",
"minimum": 1
},
"business": {
"properties": {
"country": {
"description": "Omit unless the site states it.",
"maxLength": 2,
"minLength": 2,
"pattern": "^[A-Z]{2}$",
"type": "string"
},
"name": {
"minLength": 1,
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"name",
"url"
],
"type": "object"
},
"context": {
"properties": {
"address_country": false,
"address_region": false,
"currency": false,
"eligibility": false,
"intent": {
"allOf": [
{
"description": "Relevance hint, e.g. 'gift under $50'.",
"type": "string"
}
],
"description": "Describe the purchase and rationale (100-500 chars); the buyer reads this when approving."
},
"language": false,
"location": false,
"payment": false,
"postal_code": false
},
"required": [
"intent"
],
"type": "object"
},
"currency": {
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"instrument_id": {
"description": "Saved card chosen by the buyer; omit to use get_account.preferred_instrument_id.",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$",
"type": "string"
},
"line_items": {
"items": {
"properties": {
"item": {
"properties": {
"price": {
"$ref": "#/$defs/d0"
},
"title": {
"type": "string"
}
},
"required": [
"title",
"price"
],
"type": "object"
},
"quantity": {
"maximum": 9007199254740991,
"minimum": 1,
"type": "integer"
}
},
"required": [
"item",
"quantity"
],
"type": "object"
},
"type": "array"
},
"shipping_address": {
"properties": {
"address_country": {
"type": "string"
},
"address_locality": {
"type": "string"
},
"address_region": {
"type": "string"
},
"extended_address": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"postal_code": {
"type": "string"
},
"street_address": {
"type": "string"
}
},
"type": "object"
},
"totals": {
"contains": {
"properties": {
"type": {
"const": "total"
}
},
"required": [
"type"
],
"type": "object"
},
"items": {
"allOf": [
{
"if": {
"properties": {
"type": {
"enum": [
"discount",
"items_discount"
]
}
},
"required": [
"type"
]
},
"then": {
"properties": {
"amount": {
"exclusiveMaximum": 0
}
}
}
},
{
"if": {
"properties": {
"type": {
"enum": [
"subtotal",
"fulfillment",
"tax",
"fee"
]
}
},
"required": [
"type"
]
},
"then": {
"properties": {
"amount": {
"minimum": 0
}
}
}
}
],
"properties": {
"amount": {
"description": "Signed ISO 4217 minor units; discounts negative.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"title": "Signed Amount",
"type": "integer"
},
"type": {
"minLength": 1,
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"maxContains": 1,
"minContains": 1,
"minItems": 1,
"type": "array"
}
},
"required": [
"business",
"currency",
"totals",
"approval_limit",
"context"
],
"type": "object"
}
},
"required": [
"spend_request"
],
"type": "object"
}
Similar websites
morphus.myles4miles.chatgpt.site
Morphus is an AI-native workspace for designing worlds and generating playable game experiences.
damnpdfs.com
Install the DamnPDFs Codex plugin, pair a browser workspace and use PDF, image and file tools from your coding agent. Includes setup and privacy limits.
insignifi4nt.github.io
broCAD/M: local-first CAD and CAM for parametric design, wire EDM planning, simulation and controller export.
cabinet.varera.studio
The Cartographer's Cabinet