Test Cancellation Endpoint

Test endpoint to verify cancellation functionality with mock data. This endpoint returns mock cancellation responses to help developers understand the expected response format and test the cancellation flow without making actual API calls. ## Use Cases - **Development Testing**: Verify cancellation response structure - **Integration Testing**: Test client-side cancellation handling - **Documentation**: Understand expected response format - **API Validation**: Ensure cancellation logic works correctly ## Mock Data Returns realistic mock responses for all three booking types (Restaurant, Experience, Hotel) with sample cancellation details, refund information, and timestamps. ## Response Format The mock response follows the same structure as the actual cancellation endpoint, including: - Success status and message - Booking and cancellation IDs - Refund amount and status - Cancellation timestamp - Additional booking details

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Mock cancellation data returned successfully
successboolean or null
messagestring or null
mockResponseobject or null
Sample cancellation response
endpointstring or null
requiredBodyobject or null
exampleRequestobject or null
timestampdatetime or null

Errors