- Added MidsuitPayment function to handle payment inquiries and processing.
- Integrated database queries to validate payment details and user information.
- Implemented logic for different transfer methods (RTGS, SKN, Inhouse) based on bank codes and amounts.
- Enhanced error handling for various scenarios including token validation and payment mismatches.
- Updated routes to include the new MidsuitPayment endpoint.
refactor: Update getToken and dbQueryClient for improved functionality
- Refactored getToken to streamline token retrieval and session management.
- Enhanced dbQueryClient to support action-based queries (first or all).
- Added utility functions for parameter retrieval from user data.
chore: Add new transfer-related services for Mandiri bank
- Created TransferInhouse, TransferInterbank, TransferRTGS, TransferSKN, and TransferInterbankBulk services.
- Implemented signature generation and token handling for each transfer type.
- Updated generateSignatureService to manage token generation and signature creation.
test: Add request JSON examples for transferController
- Included example request payloads for MidsuitPayment and RTGS transfers.
- Ensured request structures align with the new transfer functionalities.
docs: Add getParameter utility for parameter retrieval
- Introduced getParameter function to simplify access to user parameters.
- Improved code readability and maintainability across the application.