Bank information
Ensuring bank details are correct
To validate BSB, BIC (aka SWIFT code) or IBAN use the bankInfo query.
The below sample queries will return null if the BSB, BIC, IBAN is not found.
Validate BSB
const bodyJSON = {
variables: {
input: {
bsb: "012622",
},
},
query: `
query ($input: BankInfoQueryInput!) {
bankInfo(input: $input) {
name
address {
building street suburb state country postcode
}
}
}`,
};query($input: BankInfoQueryInput!){
bankInfo(input: $input) {
name
address {
building
street
suburb
state
country
postcode
}
}
}Validate BIC
Validate IBAN
Last updated
Was this helpful?