Create an order
create_orderPlaces an order from a confirmed quote and returns payment requirements; include a unique client reference to prevent duplicate charges.
Instructions
Create an order from a quote. REQUIRES explicit user confirmation: first call get_quote, show the user the amount, then call this tool. Idempotent via clientReference: repeating with the same clientReference returns the same order without charging twice. The order is created with paymentStatus REQUIRES_PAYMENT and includes paymentRequirements; execution starts only after payment settles.
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": {
"quoteId": "<quoteId>",
"link": "<link>",
"clientReference": "<clientReference>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Target URL/identifier | |
| quoteId | Yes | ||
| quantity | No | Defaults to the quoted quantity | |
| parameters | No | ||
| clientReference | Yes | Your idempotency key, unique per intended order |