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

businessTypes

Overview

This query does not take any inputs and returns possible business organization types (e.g. LLC, Corporation, etc.), categorized by country.

Special Considerations

  • This query does not take any argument as input.

Inputs

N/A

Returns

Promise<BusinessTypesResult>

A promise containing the following object

{ data : businessTypes }

Each supported country is a key of the data businessTypes object. The connected value is another object, with numeric keys and possible business organizaiton types as values.

Example

Running this query:

query {
  businessTypes {
    data
  }
}

Gives us:

{
  "data": {
    "businessTypes": {
      "data": {
        "US": {
          "0": "Limited Liability Company (LLC)",
          "1": "Limited Partnership (LP)",
          "2": "Sole Proprietorship",
          "3": "General Partnership (GP)",
          "4": "Corporation",
          "5": "Other"
        },
        "AU": {
          "0": "Limited Liability Partnership (LLP)",
          "1": "Incorporated (Inc)",
          "2": "Limited (Ltd.)",
          "3": "NL (No Liability)",
          "4": "Other"
        },
        ...
      }
    }
  }
}

Common Errors

N/A

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