Receives results from Shinkansen Validator

​

Webhook for receiving validation responses

Body

application/json

Validation request

Responses

  • Result correctly received.

  • Result invalid (e.g: bad signature) or malformed (e.g: unable to parse)

  • Result already received in a previous invocation for the same request

Request Example for post/validations
curl https://example.customer.url/validations/validations \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Shinkansen-Validator-Signature: YOUR_SECRET_TOKEN' \
  --data '{
  "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": "11111111-1"
    },
    "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"
  }
}'
No Body