Export a customer statement for a given period
Export a customer statement for a given period
POST
/v1/export-signed-url/statement/authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
customerIdstring
Format
uuidtypestring
Value in
"detailed" | "summary"startDateunknown
endDateunknown
exportType?string
Default
"csv"Value in
"csv" | "pdf" | "excel"usernamestring
emailstring
Format
emaillocale?string
Default
"fr"Value in
"fr" | "en"locationIdstring
Format
uuidResponse Body
application/json
application/json
curl -X POST "http://localhost:4009/v1/export-signed-url/statement/" \ -H "Content-Type: application/json" \ -d '{ "customerId": "97ab05fa-81e7-4a37-958f-1bf750d2d00a", "type": "detailed", "startDate": {}, "endDate": {}, "exportType": "csv", "username": "exampleUser", "email": "example@example.com", "locale": "fr", "locationId": "97ab05fa-81e7-4a37-958f-1bf750d2d00a" }'{
"signedUrl": "https://storage.googleapis.com/.../export-releve_2025-06-06_2026-02-16.pdf"
}{
"message": "start date cannot be after end date"
}