The POST /api/paymentCards/spendingReportXl endpoint allows users to generate and retrieve a detailed spending report in XLSX format for a specified payment card. This report includes information about all transactions made with the card during a specific period and is useful for financial analysis or record-keeping.
Purpose:
This method generates a spending report for a payment card in an easily accessible Excel (XLSX) format. It helps users track their expenditures, review transaction details, and manage their financial records more efficiently.
Response:
Upon a successful request, the API generates an XLSX file containing the spending report and returns it for download.
Security:
Ensure that users are authenticated and authorized to access the requested card details. This is important to protect sensitive financial information.