Skip to main content
These endpoints cover payments made to a Planpoint customer’s merchant account. They do not describe the customer’s subscription to Planpoint, subscription invoices, or private administrative operations. For dashboard configuration, see Payments. For buyer accounts, see the Portal API.

Access and identifiers

Use https://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

  1. Resolve the owner’s public payment-account identifiers.
  2. If the project enables temporary holds, acquire a hold and retain its token.
  3. Start Stripe checkout or obtain a Paystack price quote.
  4. Confirm payment through the provider’s client SDK.
  5. Check provider status and allow server-side completion to record the reservation.
  6. Read the saved reservation/transaction separately. Release an abandoned hold with its hold token.
A successful provider charge, inventory marked 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 submitted amount 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.
These are not sandbox URLs. Even a GET can refresh stored provider settings or create a payout session. Do not execute payment examples until support has confirmed the test project, merchant account, and provider test mode. Never place provider secret keys or returned client secrets in public code or logs.

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.