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 updateAcceptorApplication to add or update missing information in the application. Like the create mutation, this mutation does not perform validation on the application data - validation only occurs when you submit the application.

Update application fields

You can update any field in the application through updateAcceptorApplication.
ScenarioA developer at Clearpath Payments needed to follow up with Maple Street Coffee to confirm their registered legal entity name. They can use the updateAcceptorApplication mutation to add the legal entity name before resubmitting.
mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
  updateAcceptorApplication(input: $input) {
    acceptorApplication {
      applicationIdentity {
        legalEntityName
      }
    }
    errors {
      ... on Error {
        message
        __typename
      }
    }
  }
}
{
  "data": {
    "updateAcceptorApplication": {
      "acceptorApplication": {
        "applicationIdentity": {
          "legalEntityName": "Maple Street Coffee LLC"
        }
      }
    }
  }
}