addBankAccount
Overview
This mutation takes the required inputs and adds another bank account to the current logged in account.
Special Considerations
- One of the two inputs is required to add a bank account
Inputs
addBankAccountArgs
Required Data
One of the two fields below is required to be used as input.
yodleeBankAccountId: string
manualBankData: ManualBankDataInput
Returns
Promise<SuccessResult>
A promise containing the following object / data:
messsage: string
Example
Running this mutation:
mutation {
addBankAccount (data: {
manualBankData: {
accountNumber:"11111111111"
routingNumber:"121122676"
bankName:"Chase"
country:CA
currency:CAD
accountType:"Savings"
}
}) {
message
}
}
Gives us:
{
"data": {
"addBankAccount": {
"message": "Bank successfully added!"
}
}
}
Common Errors
When running this mutation some of the common errors encountered include:
- "Bank needs additional info. (I-4502)"
- All of the required fields have not been filled out