order_purchase
Request a purchase of a quote. Charges nothing: returns an approval link for the user to review and pay on Stripe's page. The card is held, and charged only once the printer accepts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order": "<order>",
"quote": "<quote>"
},
"name": "order_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Order id (ord_…). | |
| quote | Yes | The quote to buy (qte_…), usually recommended_quote_id. | |
| max_total | No | Refuse if the total is above this, in the order's currency (USD, e.g. 450). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| summary | No | ||
| warnings | No | ||
| next_actions | Yes |