Bookings

Get payment details for a pending booking

Public endpoint — no authentication required. Returns payment data needed to render the Stripe Elements payment form. Only works for bookings with pending_payment status. Does not return the client_secret (passed via redirect URL from widget).

get/v1/public/bookings/{bookingId}/payment

Request

  • Base URL: https://api.astrocal.dev
  • URL: https://api.astrocal.dev/v1/public/bookings/{bookingId}/payment
  • Auth: none required

Path parameters

bookingIdstring uuid required

Response

Payment details for the pending booking

booking_idstring uuid required
statusstring required
event_type_titlestring required
event_type_colorstring required
start_timestring required
end_timestring required
invitee_namestring required
invitee_emailstring required
amountinteger required
currencystring required
stripe_account_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.