Skip to main content

Verify payment with the gateway and create the booking

POST 

/api/v1/shared-cart/:token/payment/verify

Server-side confirmation: the backend queries the payment gateway for the cart's latest order status and creates the booking only if the gateway confirms payment. Idempotent — a cart already converted returns its existing booking; returns PENDING if not yet paid. The frontend calls this after checkout/redirect instead of asserting payment itself.

Request

Responses

OK