To validate BSB, BIC (aka SWIFT code) or IBAN use the bankInfo query.
{
bankInfo(input: { bsb: "012622" }) {
name
address {
building
street
suburb
state
country
postcode
}
}
}
{
bankInfo(input: { bic: "BARCGB22" }) {
name
address {
building
street
suburb
state
country
postcode
}
}
}
{
bankInfo(input: { iban: "DE59500105178646768962" }) {
name
bic
address {
building
street
suburb
state
country
postcode
}
}
}
{
"data": {
"bankInfo": {
"name": "BARCLAYS BANK PLC",
"bic": "BARCGB22",
"address": {
"building": null,
"street": "1 CHURCHILL PLACE",
"suburb": "LONDON",
"state": null,
"country": "GB",
"postcode": "E14 5HP"
}
}
}
}