Cancel a trip leg
wever_sports-cancel-legWithdraw one saved quote selection from your trip and return a signed withdrawal receipt. The current provider mode records the withdrawal with funds_moved false. POST /api/sports-cancel-leg. Paid URL: 0.10 USDC per call on Base mainnet using x402 exact, under the shared 10 signed-wallet free calls over rolling 30 days. X-Wever-Wallet-Proof binds the exact JSON arguments to this API path. API access fees are separate from travel spending. Per-leg principal approval and delegated authority govern spending. Conditional escrow has a 300 USDC per-leg cap. Duffel test mode uses a test token and simulated travel. Booking approval is separate from quote selection. Uncertain attempts are reconciled through trip-status. Read /api/sports-trips-contract for schemas, provider availability, receipt verification and approval terms.
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": {
"trip_id": "<trip_id>",
"leg_id": "<leg_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "wever_sports-cancel-leg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leg_id | Yes | ||
| trip_id | Yes | ||
| idempotency_key | Yes |