Returns a validation batch

​

Returns the batch and every validation request it contains, in their current state. Requests that are not pending include their response. Useful to check a batch whose webhook you did not receive.

Path Parameters

  • The id you sent when you created the batch.

Responses

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

  • No batch with that id for your organization (empty body).

Request Example for get/validation/batches/{validation_batch_id}
curl 'https://api.validator.shinkansen.finance/v1/validation/batches/{validation_batch_id}' \
  --header 'Shinkansen-Validator-Api-Key: YOUR_SECRET_TOKEN'
Performed batch
{
  "id": "batch-2026-10-13-001",
  "source_type": "api",
  "source_name": "payroll",
  "status": "performed",
  "timeout_at": "2026-10-13T15:15:00Z",
  "closed_at": "2026-10-13T15:16:00Z",
  "validation_requests": [
    {
      "id": "3c11df48-dfab-41eb-a3c1-b9f90a0da063",
      "perform_account_access_check": false,
      "status": "performed",
      "account_details": {
        "name": "Romulo Gallegos",
        "identification": {
          "id_schema": "CLID",
          "id": "11111111-1"
        },
        "financial_institution": {
          "fin_id_schema": "SHINKANSEN",
          "fin_id": "SCOTIABANK_CL"
        },
        "account": "1513523451",
        "account_type": "current_account",
        "currency": "CLP",
        "email": "romulo.gallegos@shinkansen.finance"
      },
      "response": {
        "return_code": "valid_account_details",
        "return_message": "OK",
        "available_account_check_types": [],
        "invalid_account_details_reason": null
      },
      "inserted_at": "2026-10-13T15:00:00Z",
      "updated_at": "2026-10-13T15:01:10Z"
    },
    {
      "id": "e60044b2-2ecc-49c2-b20b-b20c07292753",
      "perform_account_access_check": false,
      "status": "error",
      "account_details": {
        "name": "Nombre desconocido",
        "identification": {
          "id_schema": "MXRFC",
          "id": "NA"
        },
        "financial_institution": {
          "fin_id_schema": "SHINKANSEN",
          "fin_id": "BBVA_MEXICO_MX"
        },
        "account": "012180001234567899",
        "account_type": "clabe",
        "currency": "MXN",
        "email": "validator-payments@shinkansen.finance"
      },
      "response": {
        "return_code": "unable_to_validate",
        "return_message": "batch_timed_out",
        "available_account_check_types": [],
        "invalid_account_details_reason": null
      },
      "inserted_at": "2026-10-13T15:00:00Z",
      "updated_at": "2026-10-13T15:15:00Z"
    }
  ],
  "inserted_at": "2026-10-13T15:00:00Z",
  "updated_at": "2026-10-13T15:16:00Z"
}