Get transaction report by date
This GET API is used to download daily transactions across all accounts under your Entity. This includes all corporate and all individual accounts’ transactions.
/GetTransactionReportByDate
import requests
url = “https://stageapi.cfsemoney.com/v1/GetTransactionReportByDate?date=YYYY-MM-DD”
payload={}
headers = {
‘x-api-key’: ‘XXXXXX‘,
‘Authorization’: ‘Bearer YYYYYYYYYYYYYYY‘
}
response = requests.request(“GET”, url, headers=headers, data=payload)
print(response.text)
curl –location ‘https://stageapi.cfsemoney.com/v1/GetTransactionReportByDate?date=YYYY-MM-DD’ \
–header ‘x-api-key: <YYYYY>‘ \
–header ‘Authorization: Bearer <XXXXX>‘
{
“statusCode”: 200,
“body”: “{\”data\”: [[{\”owner_name\”: \”SWAPNIL API CORP1\”, \”pm_name\”: \”Spacetel UK Ltd\”,
\”spm_name\”: \”STEL SPM Voicetecsys.Com\”, \”corp_name\”: \”Swapnil API Corp1\”, \”account_name\”: \”SN API GBP\”,
\”debitcreditcode\”: \”Debit\”, \”iban\”: \”GB83CLRB04045220021175\”, \”currency_code\”: \”GBP\”,
\”ben_owner_name\”: \”Not Provided\”, \”ben_iban\”: \”GB71CLRB04045200000882\”, \”to_currency\”: \”GBP\”,
\”amount\”: 7.0, \”scheme\”: \”Transfer\”, \”bank_code_type\”: null, \”bank_code\”: null, \”reference\”: \”testing\”,
\”inserted_timestamp\”: \”2023-10-03T11:16:18.433777\”, \”end_to_end_txn_id\”: \”8486dfa8-8d87-44a4-be50-4cd169271fe\”}]], \”message\”: \”Report fetched successfully.\”, \”status\”: true}”
}
{
“statusCode”: 400,
“body”: “{\”message\”: \”xxx”}”
}