I don't like this because teh endpoint is already big, and there are multiple different payment options and methods so there's a lot of code and potentially "different" responses2. Do I create a separate endpoint for PaymentProcessing and make a chain call to a separate PaymentProcessing endpoint in react after CreateReservation is successful and return the reservation Id?.
This seems unsafe, I'm not sure how to guarantee that the id isnt manipulated. Or maybe i should pass a secure token here?3. Do I create a mediatr handler to process payment and call it from witihn the CreateReservation endpoint after creating hte reservation?