const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: '<string>',
accountNumber: '<string>',
sortCode: '<string>',
routingNumber: '<string>',
iban: '<string>',
bicSwift: '<string>',
country: '<string>',
currency: '<string>'
})
};
fetch('https://api.dolfinai.co/bank-details/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"isValid": true,
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
],
"canonical": {
"accountHolderName": "<string>",
"accountNumber": "<string>",
"sortCode": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"bicSwift": "<string>",
"country": "<string>",
"currency": "<string>"
}
}Returns per-field validation errors for a BankDetails payload. Pure format/checksum check — no database lookup.
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: '<string>',
accountNumber: '<string>',
sortCode: '<string>',
routingNumber: '<string>',
iban: '<string>',
bicSwift: '<string>',
country: '<string>',
currency: '<string>'
})
};
fetch('https://api.dolfinai.co/bank-details/validate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"isValid": true,
"errors": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>"
}
],
"canonical": {
"accountHolderName": "<string>",
"accountNumber": "<string>",
"sortCode": "<string>",
"routingNumber": "<string>",
"iban": "<string>",
"bicSwift": "<string>",
"country": "<string>",
"currency": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.dolfinai.co/llms.txt
Use this file to discover all available pages before exploring further.