Skip to main content
The Custom Reservation Flow is an appointment workflow, not unit checkout. These endpoints are Public: no Planpoint bearer token is required, but project/provider configuration is checked. An appointment deposit does not create a unit reservation or change inventory availability. With a configured deposit amount of zero, skip payment creation. Do not substitute the project’s regular unit-checkout fee.

Get Calendly booking details

POST /api/crf/calendly-booking
Request
Response (200)
This retrieves an existing booking using the project’s provider connection; it does not create one. Responses have Cache-Control: no-store. Location is the physical address/location label, TBD, Online Meeting, or Online, as available; a meeting join URL is not returned. Errors: 400 invalid/mismatched booking URIs, 404 Calendly not configured, 502 failed/incomplete provider lookup, and 500 server failure.

Create a Stripe deposit PaymentIntent

POST /api/crf/create-deposit-intent
Request
Response (200)
The project must have Calendly configured, a positive deposit, and an onboarded Stripe merchant connection. The server resolves the deposit amount, currency, and merchant from the project/owner; no client amount is accepted. Confirm this card PaymentIntent using Stripe.js in the connected account. The Connect webhook records a CRF deposit when payment succeeds. Creation alone is not a paid deposit. Errors: 400 invalid fields, no positive deposit, or no connected Stripe account; 404 project/flow unavailable; and 500 unable to start payment.

Verify a captured PayPal order

POST /api/crf/verify-paypal-order Required fields are projectId and orderId (1-64 characters). Optional name, email, and units use the same limits and meanings as Stripe deposits above.
Request
Response (200)
Capture the order using the project’s PayPal client integration first. This endpoint does not create or capture an order: it retrieves the order using the owner’s provider connection, requires COMPLETED, and checks the first capture’s amount and currency against the configured deposit. A verified order creates or updates the deposit record keyed by order ID. Errors: 400 invalid fields, no positive deposit, no PayPal connection, incomplete order, or amount/currency mismatch; 404 project/flow unavailable; and 500 unable to verify payment. Read recorded deposits through GET /crf/deposits. A successful appointment booking alone is not a recorded payment.