1.0.7 • Published 9 months ago
vista-co v1.0.7
VISTA CO Integration
- Web: VISTA CO Official Website
- API Documentation: VISTA CO API Reference
Overview
This project provides a seamless integration with VISTA CO APIs for cinema booking management. It includes a variety of features such as booking details retrieval, cancellation, refunding, and managing unpaid bookings. The integration uses Axios for making HTTP requests and handling API calls.
Key APIs Supported
The following key functionalities are included:
- Get Booking Details - Fetch booking details based on cinema ID and optional booking number, transaction number, or session ID.
- Cancel Booking - Cancel a booking based on cinema ID, booking number, and session information.
- Refund Booking - Refund a booking with details such as refund reason, amount, and payment details.
- Mark Booking as Collected - Mark tickets or concessions as collected at the cinema.
- Search Bookings - Search for multiple bookings based on booking reference, session dates, member details, and more.
- Manage Unpaid Bookings - Operations for marking unpaid bookings as paid or starting payment for unpaid bookings.
Project Structure
- /src: Contains all TypeScript files and business logic for making API requests.
- axios-master: Axios instance configured for making requests to VISTA CO API.
Setup
- Install the package:
npm install vista-co