mt_travel_verify
Validate travel reservations by verifying agent credentials, checking authorization levels, confirming segment permissions, and ensuring spend limit and currency compliance through DID-based authentication.
Instructions
Verify a travel booking against a TravelAgentCredential.
Runs a 10-step verification pipeline: VC signature, expiry, agent DID match, segment authorization, spend limit, currency, daily cap, trust score, delegation chain, and traveler binding.
Args: agent_did: DID of the booking agent (e.g. "did:base:0x...") vc_json: The TravelAgentCredential as a JSON string merchant: Merchant domain (e.g. "hilton.com") segment: Booking segment: hotel, flight, car_rental, or rail amount: Booking amount currency: Currency code (e.g. "USDC")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_did | Yes | ||
| vc_json | Yes | ||
| merchant | Yes | ||
| segment | Yes | ||
| amount | Yes | ||
| currency | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |