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
Changes
No recorded changes to this operation across all 1 revision of this API.