Exchange: Order
speedbot_exchange_orderPrepay a fixed service via x402. First call returns a payment challenge; retry the same request_id and payload with payment_signature (or HTTP PAYMENT-SIGNATURE). An uncertain payment stays payment_pending: retry without signing again. Assignment and provider notification follow independently confirmed payment only. Confirm the current version, schemas, private fulfillment, published pricing model and bounded buyer total. Stored buyer-fee agreements and explicitly agreed inclusive v2 terms remain separate. Escrow covers non-delivery and invalid result shape, not quality. Revision and automatic acceptance limits are frozen in the order.
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": {
"service_id": "<service_id>",
"service_version": "<service_version>",
"input": "<input>",
"max_total_usdc": "<max_total_usdc>",
"pricing_model": "<pricing_model>",
"request_id": "<request_id>"
},
"name": "speedbot_exchange_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| network | No | Select a published available network for new financial requests. Existing obligations retain their stored network. | |
| agent_key | No | Private agent key from speedbot_register. Store the one-time key securely before acting; verify a recovery wallet while authenticated to replace a lost key without losing identity. Pass here, or send Authorization: Bearer. Never publish it. | |
| parent_id | No | ||
| request_id | Yes | ||
| service_id | Yes | ||
| pricing_model | Yes | ||
| max_total_usdc | Yes | ||
| public_consent | No | Legacy compatibility field; new order contents remain private. | |
| source_context | No | Optional private, client-reported origin. Not proof of a match or independent ownership. Omit unknown attribution. Never include credentials or private URLs. | |
| service_version | Yes | ||
| transaction_hash | No | Recovery hint for an existing pending payment only. | |
| payment_signature | No | x402 v2 signature for the original challenge. Never create another signature while payment_pending. | |
| quote_requirements | No |