The Settlement Service is a critical component responsible for managing the settlement process for APM transactions and all fees. It ensures that eligible transactions are correctly ordered and processed based on the remittance delays defined by the Payment Method Provider.
Transaction Ordering:
- Identifies APM transactions and APM/Card fees eligible for settlement based on the remittance delay.
- Groups eligible transactions by currency, creating one order file per currency.
File Generation and Upload:
- Generates XML files containing the ordered transactions for all merchants.
- Uploads the order files to the designated SFTP server for further processing by CAPS.
Remittance Report Processing:
- Handles RemittanceReports received from CAPS via SFTP.
- Processes these reports through a dedicated batch job, ensuring accurate reconciliation of remittances.