Book a trip leg
wever_sports-book-legSubmit one approved Duffel test booking or record an approved provider quote selection. Validates the approval delegated to the named agent. Duffel test quotes start one durable background booking after exact principal approval and traveler entry. Returns an attempt key while trip-status reads provider confirmation. Other quotes return signed quote-selection receipts. POST /api/sports-book-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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leg_id | Yes | ||
| trip_id | Yes | ||
| option_id | Yes | ||
| content_sha256 | Yes | ||
| idempotency_key | Yes |