Book a flight with your agent (payment layer)
Your agent can search and hold a flight itinerary, but booking only completes when payment is settled. This skill routes that payment step through CAI so the agent does not ask you to paste private keys or open MetaMask mid-task.
When to Use
- "Book this flight for me and pay"
- "Complete the airline checkout"
- "My agent found the fare — pay from my agent wallet"
- "Finish flight payment after I confirm"
Task flow (agent-native)
- Agent finishes discovery (flight, price, payee instructions from airline or OTA).
- Check CAI First:
get_identity or wallet_balances on the required chain/token. - If balance is low →
create_deposit_link; wait for user funding. - User confirms full recipient, amount, chain, token (irreversible).
resolve_transfer_recipient (for @cai.com) or explicit to_address → transfer (scope pay/full).- Proof:
transfer_status, wallet_activity_list.
Quick Setup
openclaw secrets set CAI_API_KEY "your_dashboard_api_key"
Canonical Reference
- Full contract: https://cai.com/skill.md
- Payment playbook: https://cai.com/skill-references/agent-payment-workflow.md
- Agent Card: https://cai.com/.well-known/agent.json
- Developers: https://cai.com/developers.html