Access and identifiers
Usehttps://app.planpoint.io/api and JSON unless an endpoint says otherwise. IDs for Planpoint records are 24-character hexadecimal strings.
In payment requests,
userId usually means the project owner’s customer-account ID, not the buyer. portalUserId is the buyer’s Portal ID. Paystack payment-success names the owner’s field user instead of userId.
Unit checkout is not an appointment deposit
- Resolve the owner’s public payment-account identifiers.
- If the project enables temporary holds, acquire a hold and retain its token.
- Start Stripe checkout or obtain a Paystack price quote.
- Confirm payment through the provider’s client SDK.
- Check provider status and allow server-side completion to record the reservation.
- Read the saved reservation/transaction separately. Release an abandoned hold with its hold token.
Reserved, and a saved reservation are separate results. A 200 webhook acknowledgement or a Portal activity event does not prove all of them exist.
CRF (Custom Reservation Flow) instead combines Calendly booking with an optional appointment deposit. A CRF deposit does not reserve a unit. When the configured deposit is zero, skip payment creation.
Amounts and retries
Stripe unit checkout calculates the charge from stored project/item settings. The submittedamount is not authoritative. Paystack’s quote supplies the current amount, currency, and an opaque signed priceQuote to preserve in provider metadata.
Checkout and quote response amounts are in major currency units. Paystack session-status returns its provider amount in minor units. The references below label these explicitly.
There is no documented client idempotency-key header for payment creation. Do not blindly retry a creation or charge after a timeout. Check the existing provider transaction first; contact support if payment and reservation records disagree.
Endpoint reference
Unsupported methods generally return
405. Errors use message or error depending on the endpoint; always inspect the HTTP status first. Common errors include invalid input (400), missing authentication (401), denied access (403), missing resources (404), and provider/server failures (500). Specific exceptions appear on each page.