Recommended Workflow
- Collect all journey details.
- Call
/api/ai/direct-bookingwithoutconfirmed_by_user. - Present the journey, vehicle and calculated fare to the user.
- Obtain explicit confirmation from the user.
- Call the same endpoint again with
confirmed_by_user=trueand customer details. - Send the returned Stripe link from
payment_urlto the user.