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

healthCheck

Overview

This mutation performs general maintenance on the account including: resending uploadedId to AFEX if failed, cleaning up expired payment requests with no recipient, fetch most recent client status from AFEX, and check if 90 minutes have passed for ACH setup for all bank accounts, and returns the success result.

Special Considerations

  • Query does not take any inputs

Inputs

N/A

Returns

Promise<SuccessResult>

A promise containing the following object / data:

message: string

Example

Running this mutation:

mutation {
  healthCheck {
    message
  }
}

Gives us:

{
  "data": {
    "healthCheck": {
      "message" : "Success"
    }
  }
}

Common Errors

When running this mutation some of the common errors encountered include:

  • Error updating ID for client (I-4415)

    • Error occurred in reuploading the ID, please try again
  • You can only healthCheck on pending and verified accounts. (I-4408)

    • The account is either not set up, deactivated, or forbidden
← PrevioustestWebhook →
  • Overview
  • Special Considerations
  • Inputs
  • Returns
    • Promise<SuccessResult>
  • Example
  • Common Errors
borderless Docs
Docs
Account SetupAccount ServicesVerificationPaymentsRefundsDeveloper Tools
More
LoginBlogGitLabLinkedInInstagramTwitter
Facebook Open Source
Copyright © 2022 borderless