Skip to main content
Use updateBankAccountInput to update an existing bank account. You must include the bank account’s id in the update input.
ScenarioAfter submitting his application, Ben realizes he provided an incorrect routing number for his business account. He needs 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"
            }
          ]
        }
      }
    }
  }
}
Run in Playground