---
title: "Pay Flight Booking Session"
method: POST
path: "/flight-booking/sessions/{session_id}/pay"
tags: ["flight-booking"]
---

# Pay Flight Booking Session

`POST /flight-booking/sessions/{session_id}/pay`

Charge and create a flight booking + operator task.

## Path parameters

- `session_id` string, uuid, required

## Request body

- FlightBookingPayRequest — Request body for POST /{session_id}/pay.
  - `payment_method_id` string, nullable — Stripe payment method ID (pm_xxx). If absent, returns client_secret for inline card entry.
  - `credit_amount_cents` integer, nullable — Axel credit to apply (cents). None/omitted=no credit, >0=apply this amount.
  - `payment_method_types` string[], nullable — How the deferred Stripe Elements group was configured, e.g. ['card'] (inline pay only). The PaymentIntent is created to match — Stripe rejects confirm on mismatch. Omitted = automatic payment methods.

## Response `200`

Successful Response

- FlightBookingPaymentResponse — Response from a successful flight booking payment. Two modes: - Saved card: all fields populated, status=completed. - Inline pay: client_secret returned, booking_id/reference_code/operator_task_id are None, status=awaiting_payment. Frontend confirms card, then calls confirm-payment.
  - `session_id` string, uuid, required
  - `booking_id` string, nullable
  - `reference_code` string, nullable
  - `operator_task_id` string, uuid, nullable
  - `payment_intent_id` string, required
  - `charged_amount_cents` integer, required
  - `currency` string, required
  - `status` 'active' | 'awaiting_payment' | 'processing' | 'completed' | 'failed' | 'abandoned' | 'manual_recovery_required', required
  - `client_secret` string, nullable
  - `credit_applied_cents` integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/helloaxel/apis/client-api-gateway.md) · [All operations](https://skmtc.dev/helloaxel/apis/client-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/helloaxel/client-api-gateway/revisions/d3c4c29fede7/schema)
