> ## 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.

# Update billing profile

> Change the billing profile on an existing acceptor application using the updateAcceptorApplication mutation before submission.

You can also update the billing profile on an existing application using the `updateAcceptorApplication` mutation. This is useful if you need to change the billing terms before submitting the application.

<Callout icon="clapperboard-play" color="#6938EF" type="scenario">
  **Scenario**

  A developer at Clearpath Payments initially selected a basic billing profile for Maple Street Coffee, but after reviewing the fee structures, they realize a different profile better suits the sub-merchant's business model. They update the application with the new billing profile before submission.
</Callout>

<Info>
  When updating a billing profile, make sure the new profile is compatible with your business
  requirements and expected transaction volume. Changes to billing profiles after application
  submission may require additional review.
</Info>

<RequestExample>
  ```graphql Operation lines theme={null}
  mutation UpdateAcceptorApplication($input: AcceptorApplicationUpdateInput!) {
    updateAcceptorApplication(input: $input) {
      acceptorApplication {
        id
        applicationStatus
        billingProfile {
          billingProfileId
          name
        }
      }
    }
  }
  ```

  ```json Variables lines theme={null}
  {
    "input": {
      "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
      "billingProfileId": "bda72262-0efd-4a24-91de-26e2dcd0c576"
    }
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response lines theme={null}
  {
    "data": {
      "updateAcceptorApplication": {
        "acceptorApplication": {
          "id": "60c66576-0caf-4dd1-8c66-fccae049f0fd",
          "applicationStatus": "CREATED",
          "billingProfile": {
            "billingProfileId": "bda72262-0efd-4a24-91de-26e2dcd0c576",
            "name": "Standard Interchange Plus"
          }
        }
      }
    }
  }
  ```
</ResponseExample>
