Account Reports

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.

get/account_reports/{id}

Request

  • Base URL
    https://api.treasury.shinkansen.finance/v1
  • URL
    https://api.treasury.shinkansen.finance/v1/account_reports/{id}
  • Auth
    API key in header Shinkansen-Treasury-Api-Key

Response

The account report

Example response

{
  "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"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.