Create order
create_orderCreate an order from a quote or items. PayPal rail returns an approve_url that a human must approve; the crypto rail (merch, domains, store plans) is fully automatic: send EXACTLY next_action.amount_due in USDT/USDC and the payment is detected and verified on-chain, no further call needed (poll get_order_status). Merch needs shipping, domains need delivery.wallet_address, store plans need details. Safe to retry with the same idempotency_key.
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": {
"payment_rail": "<payment_rail>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| details | No | ||
| delivery | No | ||
| quote_id | No | ||
| shipping | No | ||
| payment_rail | Yes | ||
| idempotency_key | Yes |