validateBankAccount
Validate a bank account.
Arguments
Returns
ValidateBankAccountExamples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query ValidateBankAccount(
$accountNumber: String!,
$sortCode: String!,
$vendor: PaymentsVendorChoices
) {
validateBankAccount(
accountNumber: $accountNumber,
sortCode: $sortCode,
vendor: $vendor
) {
bankName
branch
county
line1
line2
line3
line4
postcode
town
}
}
Variables
{
"accountNumber": "A-FEA0DA5D",
"sortCode": "spring-kind-structure-approach-reveal",
"vendor": "SMARTDEBIT"
}
Response
{
"data": {
"validateBankAccount": {
"bankName": "best-hold-kitchen-consider-large",
"branch": "table-already-create-wish-last",
"county": "hope-tree-simply-community-our",
"line1": "Congress-simply-news-sometimes-assume",
"line2": "up-discover-sure-kid-threat",
"line3": "big-approach-life-us-let",
"line4": "medical-clearly-must-interview-thousand",
"postcode": "scientist-local-chance-certainly-will",
"town": "particularly-different-specific-democratic-law"
}
}
}