borderless Docs

borderless Docs

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

›Queries

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

bankAccounts

Overview

Get all owned bank account information based on login session.

Special Considerations

  • Must make an account before calling this query.
  • PrivateBankStatus may be 'FULLY_VERIFIED' |'PENDING' |'BENEFICIARY_ONLY' | 'FAILED';

Inputs

None.

Returns

Promise<PrivateBankAccount[]>

Returns a promise containing an array of PrivateBankAccount's, where each PrivateBankAccount contains:

PrivateBankAccount: {
    id: ID!,
    accountNumber: string!,
    routingNumber: string!,
    bankName: string!,
    currency: Currency!,
    country: Country!,
    preferredBankAccount: boolean!,
    status: PrivateBankStatus!,
    accountType: string,
    faviconUrl: string,
}

Example

Running this query:

query {
    bankAccounts {
      id
      accountNumber
      routingNumber
      bankName
      currency
      country
      preferredBankAccount
      status
      accountType
      faviconUrl
    }
}

Gives us:

{
  "data": {
    "bankAccounts": [
      {
        "id": "ckbck9a4e006e0726dgvr3kgc",
        "accountNumber": "**1192",
        "routingNumber": "**1192",
        "bankName": "DagBank",
        "currency": "AUD",
        "country": "AU",
        "preferredBankAccount": true,
        "status": "PENDING",
        "accountType": "CHECKING",
        "faviconUrl": "https://yodlee-1.hs.llnwd.net/v1/FAVICON/FAV_8995.PNG"
      }
    ]
  }
}

Common Errors

N/A

← accountscompanyOfficers →
  • Overview
  • Special Considerations
  • Inputs
  • Returns
    • Promise<PrivateBankAccount[]>
  • Example
  • Common Errors
borderless Docs
Docs
Account SetupAccount ServicesVerificationPaymentsRefundsDeveloper Tools
More
LoginBlogGitLabLinkedInInstagramTwitter
Facebook Open Source
Copyright © 2022 borderless