Creates a Stripe SetupIntent for collecting a patient's card on file. Only required for bill-to-patient appointments. Returns a client secret and publishable key to initialize Stripe.js on the client side.
Security
BearerAuth
- Mock serverhttps://docs.speedysticks.com/_mock/openapi/api/booking/setup-intent
- Productionhttps://api.speedysticks.com/api/booking/setup-intent
curl -i -X POST \
https://docs.speedysticks.com/_mock/openapi/api/booking/setup-intent \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"patientId": 1
}'Response
{ "setupIntentSecret": "seti_1Jv3iK_secret_abc123", "publishableKey": "pk_live_abc123" }