Export Customer Account Statement

To export a customer statement, send a GET request to the following endpoint:

GET /api/Report/v1/ExportCustomerStatement This API enables the export of customer statements in PDF, CSV, or Excel format, providing access to crucial financial information for both customers and the organization.

Headers

Name
Value

Content-Type*

application/json

Authorization*

Bearer <token>

Request-Reference

{unique-reference}

Query Parameter

Name
Data Type (length)
Description

accountNumber

string

The customer's account number

financialDateFrom

date

Start date of financial activity

financialDateto

date

End date of financial activity

fileExportFormat

integer

The type of format to use for exporting account statements (e.g., CSV, PDF) The enumerations are: 1 = Excel 2 = CSV 3 = PDF

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

Sample Request
curl --location -g '{{baseurl}}/api/Report/v1/ExportCustomerStatement?AccountNumber=1000000754&FinancialDateFrom=2021-08-01&FinancialDateTo=2023-03-19&FileExportFormat=2' \
--header 'Authorization: bearer {token}' \
--header 'request-reference: {unique_reference}' \
--header 'Content-Type: application/json' \
--data ''
Respose: 200
//request successful

Last updated