Request a batch of validations
Requests up to 1000 validations in a single call. Shinkansen stores the batch and answers immediately; the validations are performed asynchronously, and once none is pending the results of the whole batch are sent in a single call to the batch webhook configured for the Validator service. Validations that belong to a batch are not sent to the single validation webhook.
The batch is accepted or rejected as a whole: if any request is invalid, its id is taken or repeated, or it asks for an access check that is not available, nothing is stored.
A batch times out after 15 minutes by default. Requests still pending at that time are closed as error, with return_code unable_to_validate and return_message batch_timed_out.
Request
- Base URLhttps://api.validator.shinkansen.finance/v1
- URLhttps://api.validator.shinkansen.finance/v1/validation/batches
- AuthAPI key in header Shinkansen-Validator-Api-Key
Request body
Example request
{
"validation_requests": [
{
"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
Validation batch correctly received. Returns the batch with status "pending" and each request's id and status. The results will be sent to the batch webhook configured for the Validator service.
Changes
No recorded changes to this operation across all 1 revision of this API.