Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Use updateBankAccountInput to update an existing bank account. You must include the bank account’s id in the update input.
ScenarioAfter submitting the application, a developer at Clearpath Payments realizes an incorrect routing number was provided for Maple Street Coffee’s business account. They need to update the bank account information with the correct routing number before the application can be properly validated.
mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
  updateAcceptorApplication(input: $input) {
    errors {
      ... on Error {
        message
        __typename
      }
    }
    acceptorApplication {
      id
      applicationStatus
      billingAndFunding {
        bankAccounts {
          routingNumber
          id
        }
      }
    }
  }
}
{
  "data": {
    "updateAcceptorApplication": {
      "acceptorApplication": {
        "id": "d7c5d7d7-b7be-4f50-8e11-2f141697fe12",
        "applicationStatus": "DRAFT",
        "billingAndFunding": {
          "bankAccounts": [
            {
              "routingNumber": "021000022",
              "id": "f4350119-53a5-4d15-90f0-38b301ee0943"
            }
          ]
        }
      }
    }
  }
}