Backend Endpoints

All backend function endpoints for Glenugie Kennels booking system

Base URL

https://glenugiekennels.bookyourkennel.co.uk

Function Endpoints

stripeWebhook

Stripe payment webhook endpoint

POST
https://glenugiekennels.bookyourkennel.co.uk/functions/stripeWebhook

createCheckout

Create Stripe checkout session

POST
https://glenugiekennels.bookyourkennel.co.uk/functions/createCheckout

checkAvailability

Check accommodation availability

POST
https://glenugiekennels.bookyourkennel.co.uk/functions/checkAvailability

sendBookingEmail

Send booking confirmation emails

POST
https://glenugiekennels.bookyourkennel.co.uk/functions/sendBookingEmail

importBookings

Import bookings from CSV

POST
https://glenugiekennels.bookyourkennel.co.uk/functions/importBookings

autoAssignKennel

Auto-assign kennel to booking

POST
https://glenugiekennels.bookyourkennel.co.uk/functions/autoAssignKennel

Stripe Webhook Setup

  1. Copy the stripeWebhook endpoint URL above
  2. Go to Stripe Dashboard → Webhooks
  3. Click "Add Endpoint"
  4. Paste the webhook URL
  5. Select event: checkout.session.completed
  6. Copy the Signing Secret from Stripe
  7. Save it in Base44 Dashboard as STRIPE_WEBHOOK_SECRET