Review cancellation of this booking
prepare_booking_cancellationReturn a private cancellation-review link for the OAuth-selected existing booking. Choose this to cancel that booking, prepare_booking_change for an amendment, or prepare_offer for a new ride; get_booking_status only reads stored state.
bookingKey must identify the selected booking and cannot switch OAuth selection. Generate onceKey once for this booking/cancellation intent, retain it for unchanged retries, and never substitute an amendment's key. The key travels with the booking/action in the URL for later consent; retrieving the link does not persist or execute cancellation.
consent_required returns consentUrl. Open it in the original signed-in session; the customer reviews amount/terms and separately consents/confirms there. Then read get_booking_status and get_booking_history; recorded events are not fresh refund proof. Correct invalid_request; not_found denies access; unavailable leaves review unverified. Authority is checked before/after. No cancellation, refund, payment or message occurs in this call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| onceKey | Yes | Caller-chosen retry key: 16–128 characters from A–Z, a–z, 0–9, underscore or hyphen. Reuse it for the same booking, action and unchanged request facts; use a fresh key for changed facts. The caller creates it; this handoff assigns it no independent expiry or execution authority. Later review still requires a current original session, object, offer and separate action consent. | |
| bookingKey | Yes | Internal booking ID or visible bookingReference of the one booking already selected by this OAuth connection. Copy the same booking's bookingKey or bookingReference from an available get_offer_status/prepare_offer or authorized booking-read result; prepared returns links, not IDs. Never substitute the supplier offerKey. It grants no access to another booking. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||