Return a single account report

​

Returns one account report by its id. Only reports of the bank accounts you own can be read; any other id answers 404, whether or not a report with that id exists.

The entries of the report are not part of the response. Use the entries endpoint with source_type=account_report to read them.

Path Parameters

  • The id of the account report, as returned by the account reports list endpoint.

Responses

  • application/json
  • Forbidden (e.g: wrong API Key)

  • application/json
Request Example for get/account_reports/{id}
curl https://api.treasury.shinkansen.finance/v1/account_reports/1 \
  --header 'Shinkansen-Treasury-Api-Key: YOUR_SECRET_TOKEN'
{
  "data": {
    "id": 4821,
    "notification_type": "account_report",
    "notification_id": "170dedb6-e320-4288-a2a9-6f79a5efdeeb",
    "notification_date": "2019-06-14T12:23:00.000Z",
    "account_report_id": "170DEDB6-E320-4288-A2A9-6F79A5EFDEEB",
    "account_report_date": "2019-06-14T12:23:00.000Z",
    "account": "22222222",
    "financial_institution": {
      "fin_id": "BANCO_DE_CHILE_CL",
      "fin_id_schema": "SHINKANSEN"
    },
    "currency": "CLP",
    "origin": "internal",
    "balances": {
      "book_balance": "1234.50",
      "available_balance": "1234.50"
    }
  }
}