Internal

Returns validation requests for a given customer

Used internally by Shinkansen (e.g, for the Shinkansen Dashboard).

get/internal/customers/{customer_shinkansen_fin_id}/validation_requests

Request

  • Base URL
    https://api.validator.shinkansen.finance/v1
  • URL
    https://api.validator.shinkansen.finance/v1/internal/customers/{customer_shinkansen_fin_id}/validation_requests
  • Auth
    API key in header Shinkansen-Validator-Api-Key

Response

Returns a list of validation requests plus pagination metadata

Example response

{
  "meta": {
    "current_page": 1,
    "previous_page": null,
    "next_page": 2,
    "page_size": 2,
    "total_count": 3,
    "total_pages": 2
  },
  "validation_requests": [
    {
      "id": "3c11df48-dfab-41eb-a3c1-b9f90a0da063",
      "inserted_at": "2022-04-08T18:25:45-04:00",
      "updated_at": "2022-04-08T18:25:55-04:00",
      "status": "performed",
      "account_details": {
        "name": "Romulo Gallegos",
        "identification": {
          "id_schema": "CLID",
          "id": "12383287-6"
        },
        "financial_institution": {
          "fin_id_schema": "SHINKANSEN",
          "fin_id": "SCOTIABANK_CL"
        },
        "account": "1513523451",
        "account_type": "current_account",
        "currency": "CLP",
        "email": "romulo.gallegos@shinkasen.finance"
      },
      "response": {
        "return_code": "valid_account_details",
        "return_message": "OK"
      }
    },
    {
      "id": "4d22ef59-efbc-52fc-b4d2-c0f01b1eb174",
      "inserted_at": "2022-04-08T18:25:45-04:00",
      "updated_at": "2022-04-08T18:25:55-04:00",
      "status": "performed",
      "account_details": {
        "name": "Romulo Gallegos",
        "identification": {
          "id_schema": "CLID",
          "id": "12383287-6"
        },
        "financial_institution": {
          "fin_id_schema": "SHINKANSEN",
          "fin_id": "SCOTIABANK_CL"
        },
        "account": "1513523451",
        "account_type": "current_account",
        "currency": "CLP",
        "email": "romulo.gallegos@shinkasen.finance"
      },
      "response": {
        "return_code": "invalid_account_details",
        "return_message": "Account not found"
      }
    }
  ]
}

Changes

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