MPPtempoquality 0.82

Cancel an Amadeus flight order via pay-per-request micropayment — $0.005 per call, no API keys.

Price
$0.0054 / call
Protocol
mpp
Verified
no

What it does

This endpoint cancels a previously created Amadeus flight order by its order ID. It is part of the StableTravel API suite, which provides pay-per-request access to flights, hotels, activities, transfers, and real-time flight tracking data sourced from Amadeus GDS, FlightAware AeroAPI, and Google Flights (via SerpAPI). No API keys, OAuth tokens, or subscriptions are required — payment via USDC on Base, Solana, or Tempo (x402/MPP protocol) serves as authentication.

The cancel endpoint accepts a POST request with the flight order ID passed as a query parameter. The fixed price is $0.0054 per call (listed as ~$0.005 in the documentation). It returns a JSON response with a `data` object confirming the cancellation along with optional `dictionaries` and `warnings` fields. This endpoint is typically used as the final step in a flight management workflow: search → price → book → retrieve order → cancel order.

StableTravel is operated by Merit Systems and exposes a full OpenAPI 3.1 specification at `/openapi.json`. The API covers over 60 endpoints spanning Amadeus flight booking, hotel search and booking, activity discovery, airport transfers, reference data lookups, FlightAware real-time tracking, and Google Flights price comparison. All endpoints use the same micropayment protocol with prices ranging from $0.001 to $0.40 per request.

Capabilities

flight-order-cancellationamadeus-gdspay-per-requestmicropayment-authx402-protocolmpp-protocolusdc-settlementno-api-key

Use cases

  • Cancelling a flight order that was booked programmatically via the Amadeus GDS
  • Autonomous travel agents that need to cancel bookings when itineraries change
  • Automated refund or rebooking workflows that cancel existing orders before creating new ones

Fit

Best for

  • AI travel agents that manage end-to-end flight booking and cancellation
  • Developers building travel automation without wanting to manage Amadeus API keys
  • Pay-as-you-go flight order management with no subscription commitment

Not for

  • Cancelling bookings made outside the StableTravel/Amadeus system
  • High-volume batch cancellation workflows where subscription pricing would be cheaper
  • Direct airline cancellations requiring airline-specific loyalty or PNR systems

Quick start

# Cancel a flight order (requires order ID from a previous booking)
npx agentcash fetch -X POST \
  "https://stabletravel.dev/api/flights/orders/cancel?id=ORDER_ID_HERE"

Example

Response

{
  "data": {},
  "warnings": [],
  "dictionaries": {}
}

Endpoint

Transporthttp
Protocolmpp
CurrencypathUSD

Quality

0.82/ 1.00

Full OpenAPI 3.1 schema with clear pricing, parameter definitions, and response schema. The endpoint is POST-only so the probe's HEAD/GET attempts returned 405, which is expected behavior — the endpoint is live. No example request/response bodies are provided in the docs for this specific endpoint, slightly limiting completeness.

Warnings

  • Probe returned 405 on HEAD and GET because this endpoint only accepts POST — this is expected, not a sign the endpoint is down.
  • No example request or response bodies are provided specifically for the cancel endpoint in the OpenAPI spec or docs.
  • The response schema for this endpoint uses empty `data` and `dictionaries` types (no detailed properties), so the exact cancellation response structure is unclear.

Citations

Provenance

Indexed frommpp_dev
Enriched2026-04-19 16:30:58Z · anthropic/claude-opus-4.6 · v2
First seen2026-04-18
Last seen2026-04-22

Agent access