borderless Docs

borderless Docs

  • Account Setup
  • Account Services
  • Verification
  • Payments
  • Refunds
  • Developer Tools

›Mutations

Account Setup

    Queries

    • accountIdentificationTypes
    • accountSetupSession
    • allCountries
    • businessTypes
    • isValidBusinessTaxId
    • isValidPersonalTaxId
    • isValidSlug
    • jobTitles
    • naics
    • supportedCountries
    • zoneCodes

    Mutations

    • addAccountToPerson
    • addCompanyOfficerToAccount
    • createAccountSetupSession
    • createLoginPersonAndAccount
    • deactivateAccount
    • resendEmailVerification
    • submitAccountSetupSession
    • submitCompanyOfficers
    • updateAccountSetupSession

Account Services

    Queries

    • account
    • accounts
    • bankAccounts
    • companyOfficers
    • person
    • publicAccountBySlug

    Mutations

    • addBankAccount
    • changePassword
    • changePreferredBankAccount
    • login
    • logout
    • requestPasswordReset
    • sendInvitationEmail
    • sendInvitedRegisterEmail
    • switchAccounts
    • updateAccount
    • updatePerson

Verification

    Mutations

    • addOnfidoDocumentToPerson
    • embedOnfido

Payments

    Queries

    • contacts
    • paymentActivity
    • paymentActivityById
    • paymentRequestById
    • paymentSession
    • requestedPayments
    • tradeConfirmationForPayment

    Mutations

    • clearPaymentSession
    • createPaymentForRequestSession
    • createPaymentSession
    • declinePaymentRequest
    • generatePayMeRequest
    • requestPayment
    • resendPaymentRequest
    • submitPaymentSession
    • updatePaymentSession
    • updateQuote

Refunds

    Queries

    • refundSession

    Mutations

    • clearRefundSession
    • createRefundSession
    • submitRefundSession
    • updateRefundSession

Developer Tools

    Queries

    • accountWebhooks
    • embedVerificationService

    Mutations

    • createWebhook
    • healthCheck
    • testWebhook

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
← publicAccountBySlugNext →
  • Overview
  • Special Considerations
  • Inputs
    • addBankAccountArgs
  • Returns
    • Promise<SuccessResult>
  • Example
  • Common Errors
borderless Docs
Docs
Account SetupAccount ServicesVerificationPaymentsRefundsDeveloper Tools
More
LoginBlogGitLabLinkedInInstagramTwitter
Facebook Open Source
Copyright © 2022 borderless