List recorded payments
GET /api/crf/deposits
Required query projectId identifies the project. Access is limited to its owner or direct project administrators/editors; this endpoint does not add the owner’s team as a separate access path.
Response (200)
deposits key, this merges CRF deposits and regular unit reservations. Rows are sorted newest first. It retrieves at most 200 records from each source (up to 400 combined); there is no pagination parameter.
Amounts are in major units. Older records may omit amount/currency; name, email, and unit description can be empty strings. paidIntoStripeAccounts contains distinct connected account IDs recorded on the returned CRF deposits; it is not a complete account history for all reservations.
Errors: 400 invalid project ID, 401 unauthenticated, 403 denied access, or 404 project not found.
Get payment details for units
POST /api/payments/transactions
Required projectId and nonempty unitIds array identify the project and requested inventory. The caller must be the project owner, a project administrator/editor, or an administrator/editor on the owner’s team.
Request
Response (200, reservations found)
id is the Portal buyer ID or null, not the unit ID. payment can be null; name/email can come from either the buyer or reservation.
When no reservations are found, the response deliberately has a different shape:
Response (200, no reservations)
units is always present.
This is a dashboard enrichment endpoint. It can fetch the first 100 Paystack transactions using the caller’s provider connection and match the latest successful transaction by buyer email. In that case, payment has amount, currency, reference, and date; otherwise it uses recorded reservation data with optional provider. Amounts are in major units.
Email-based enrichment is not an exact transaction-to-unit reconciliation. Results do not promise the latest reservation when multiple records exist for one unit. Use provider references and saved records for reconciliation, not this display alone.
Errors use error: 400 invalid input, 401 unauthenticated, 403 denied access, 404 missing project, and 500 server failure.
Get the live board
GET /api/live-board
Required query projectId. The caller must be the project owner or a direct project administrator/editor; the owner’s team is not a separate access path here.
Response (200)
updatedAt and holdExpiresAt. holder and buyer, when present, contain name, email, and nullable phone. Buyer information comes from the latest succeeded reservation.
For projects without a floor step, commercial spaces are grouped under a synthetic floor named Units whose _id is the project ID. For floor-based projects, amenities and parking entries are excluded.
Inventory availability, hold expiry, reservation date, and buyer presence are independent fields. The board is not a provider-payment verification endpoint.
Errors: 400 invalid project ID, 401 unauthenticated, 403 denied access, 404 missing project, and 500 failure.