POST
/
v1
/
reports
/
mt940
MT940 report (asynchronous email)
curl --request POST \
  --url https://api.next.orenda.finance/v1/reports/mt940 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fromDate": "2023-12-25",
  "toDate": "2023-12-25"
}
'
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fromDate: '2023-12-25', toDate: '2023-12-25'})
};

fetch('https://api.next.orenda.finance/v1/reports/mt940', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.next.orenda.finance/v1/reports/mt940"

payload = {
"fromDate": "2023-12-25",
"toDate": "2023-12-25"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "success": true,
  "message": "REPORT_GENERATION_INITIATED"
}
{
"success": false,
"error_code": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
fromDate
string<date>
required

Inclusive start (YYYY-MM-DD).

toDate
string<date>
required

Inclusive end (YYYY-MM-DD).

Response

Report generation initiated; the download link will be emailed.

success
boolean
Example:

true

message
string
Example:

"REPORT_GENERATION_INITIATED"