flight-booking

Confirm Flight Booking Payment

Changed on

Confirm payment after frontend Stripe Elements card entry.

Called after stripe.confirmPayment() succeeds for inline-pay sessions.

post/flight-booking/sessions/{session_id}/confirm-payment

Request

  • Base URL: https://api.helloaxel.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.helloaxel.com/flight-booking/sessions/{session_id}/confirm-payment
  • Auth: HTTP bearer

Path parameters

session_idstring uuid required

Response

Successful Response

session_idstring uuid required
booking_idstring nullable
reference_codestring nullable
operator_task_idstring uuid nullable
payment_intent_idstring required
charged_amount_centsinteger required
currencystring required
status'active' | 'awaiting_payment' | 'processing' | 'completed' | 'failed' | 'abandoned' | 'manual_recovery_required' required
client_secretstring nullable
credit_applied_centsinteger
authorized_amount_centsinteger nullable
payment_statusstring nullable

Changes

    • breaking

      the response property const value second_booking was removed for the status

    • warning

      added the new repricing_backfill enum value to the // response property for the response status

    • warning

      added the new repricing_win enum value to the // response property for the response status

    • warning

      added the new second_booking enum value to the // response property for the response status

    • info

      added the optional property to the response with the status