# Edit the payment processor config for an existing account **PUT /accounts/{account_id}/payment_processor_config** Toggle autopay or change the payment processor / bank information for a given account. ## Servers - Public Sandbox: https://sandbox-api.canopyservicing.com (Public Sandbox) - Protected UAT Sandbox: https://uat-api.canopyservicing.com (Protected UAT Sandbox) - Production: https://api.canopyservicing.com (Production) ## Authentication methods - O auth2 ## Parameters ### Body: application/json (object) Edit Payment Processor Config - **ach** (object) ACH processing configuration. - **debit_card** (object) Debit processing configuration. - **credit_card** (object) Credit processing configuration. - **autopay_enabled** (boolean) Indicates whether autopay is enabled for this account. Currently, autopay is triggered 1 day prior to a payment due date. If `default_payment_processor` is set to `NONE`, autopay will not be triggered for account regardless of this field's value. - **default_payment_processor_method** (string) Configures the payment processor to be used for manual or autopay payments. This cannot be set to a value different from `NONE` if no valid ACH or Debit Card configs are provided. ## Responses ### 200 Payment Processor Configuration Updated #### Body: application/json (object) - **ach** (object) ACH processing configuration. - **debit_card** (object) Debit processing configuration. - **credit_card** (object) Credit processing configuration. - **autopay_enabled** (boolean) Indicates whether autopay is enabled for this account. Currently, autopay is triggered 1 day prior to a payment due date. If `default_payment_processor` is set to `NONE`, autopay will not be triggered for account regardless of this field's value. - **default_payment_processor_method** (string) Configures the payment processor to be used for manual or autopay payments. This cannot be set to a value different from `NONE` if no valid ACH or Debit Card configs are provided. ### 401 Unauthorized. ### 403 Forbidden. ### 422 Invalid input ### 429 Too many requests. ### default Unexpected Error. [Powered by Bump.sh](https://bump.sh)