Skip to content

How to build: Payments and Distribution ​

Partner payment setup and (later) channels.

Middleware Backend · winner · live

POST https://middleware-dev.bookdirect.live/api/v1/bookdirect/payments/initialize

POST https://middleware-dev.bookdirect.live/api/v1/bookdirect/payments/verify/{reference}

POST https://middleware-dev.bookdirect.live/api/v1/bookdirect/payments/webhook/paystack

GET https://middleware-dev.bookdirect.live/api/v1/bookdirect/payments/wallet/virtual-account

GET https://middleware-dev.bookdirect.live/api/v1/bookdirect/payments/wallet/balance

ScreenStatusWinner
Payments / Payment Transactionsimplemented (guest pay)payments initialize / verify
Invoicesto implement—
Refundsto implementno refunds folder yet
Payment Provider SettingspartialPaystack via Middleware PAYSTACK_SECRET_KEY (server)
Channel Manager / Channel Distribution / Metasearchto implementold Google ARI playbook — no google-rates folder in routes.json
Direct Booking Engine / Booking Widgetimplemented UIDirect Booking
Guest Communicationto implementemails folder missing

API-first. Middleware Backend wins over Core Backend when both exist.